ajack 2004/05/15 11:11:11
Modified: python/gump/utils sync.py
Log:
Add some debug
Revision Changes Path
1.14 +2 -0 gump/python/gump/utils/sync.py
Index: sync.py
===================================================================
RCS file: /home/cvs/gump/python/gump/utils/sync.py,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- sync.py 15 May 2004 18:02:31 -0000 1.13
+++ sync.py 15 May 2004 18:11:11 -0000 1.14
@@ -60,6 +60,7 @@
if self.output:
if isinstance(self.output,types.StringTypes):
doClose=1
+ log.debug(' changes to [' + self.output + ']')
self.outputStream=open(self.output,'w')
else:
self.outputStream=self.output
@@ -97,6 +98,7 @@
if not os.path.getsize(self.output) > 0:
try:
os.remove(self.output)
+ log.debug(' No changes, removed [' + self.output + ']')
except: pass
return self.actionsOccured
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]