Changeset 4708875 for fedd


Ignore:
Timestamp:
Jul 9, 2012 8:00:01 AM (7 years ago)
Author:
Ted Faber <faber@…>
Branches:
compt_changes, master
Children:
4ffa6f8
Parents:
df35876
Message:

Deal with grouper errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/federation/experiment_control.py

    rdf35876 r4708875  
    2727
    2828from urlparse import urlparse
    29 from urllib2 import urlopen
     29from urllib2 import urlopen, URLError
    3030
    3131from util import *
     
    416416            zf.extractall(dest)
    417417            zf.close()
     418        except URLError, e:
     419            self.log.error("Cannot connect to grouper: %s" % e)
     420            pass
    418421        finally:
    419422            shutil.rmtree(d)
Note: See TracChangeset for help on using the changeset viewer.