Author: dmeyer
Date: Wed Mar 29 17:23:50 2006
New Revision: 1363

Modified:
   trunk/beacon/src/inotify/__init__.py

Log:
remove null chars from the end of the file

Modified: trunk/beacon/src/inotify/__init__.py
==============================================================================
--- trunk/beacon/src/inotify/__init__.py        (original)
+++ trunk/beacon/src/inotify/__init__.py        Wed Mar 29 17:23:50 2006
@@ -81,7 +81,7 @@
 
             wd, mask, cookie, size = struct.unpack("LLLL", 
self._read_buffer[0:16])
             if size:
-                name = self._read_buffer[16:16+size]
+                name = self._read_buffer[16:16+size].rstrip('\0')
             else:
                 name = None
 


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to