Ignore:
Timestamp:
May 25, 2010 11:15:55 AM (14 years ago)
Author:
Ted Faber <faber@…>
Branches:
axis_example, compt_changes, info-ops, master, version-3.01, version-3.02
Children:
f038da1
Parents:
da2208a
Message:

Wholesale change of IOError to EnvironmentError? for file operations. Lots of
uncaught EnvironmentErrors? were causing spurious error conditions, e.g. on disk
full.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/federation/proxy_segment.py

    rda2208a rd3c8759  
    3838        try:
    3939            dnull = open("/dev/null", "w")
    40         except IOError:
     40        except EnvironmentError:
    4141            self.log.debug("[ssh_file]: failed to open " + \
    4242                    "/dev/null for redirect")
     
    6464        try:
    6565            dnull = open("/dev/null", "w")
    66         except IOError:
     66        except EnvironmentError:
    6767            self.log.debug("[ssh_cmd]: failed to open /dev/null " + \
    6868                    "for redirect")
Note: See TracChangeset for help on using the changeset viewer.