Changeset 259 for trunk


Ignore:
Timestamp:
06/16/11 20:30:38 (14 years ago)
Author:
tim
Message:

attempting a fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/pyregfi/__init__.py

    r257 r259  
    750750            # XXX: Native calls to Windows filenos don't seem to work. 
    751751            #      Need to investigate why.
    752             if not is_win32 and hasattr(fh, 'fileno'):
     752            #if not is_win32 and hasattr(fh, 'fileno'):
     753            if hasattr(fh, 'fileno'):
    753754                fn = fh.fileno()
    754755        except:
Note: See TracChangeset for help on using the changeset viewer.