At http://people.samba.org/bzr/jelmer/bzr-cia/trunk

------------------------------------------------------------
revno: 43
revision-id: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Jelmer Vernooij <[EMAIL PROTECTED]>
branch nick: trunk
timestamp: Wed 2008-10-15 18:09:35 +0200
message:
  Fix syntax errors.
=== modified file '__init__.py'
--- a/__init__.py       2008-10-10 14:08:33 +0000
+++ b/__init__.py       2008-10-15 16:09:35 +0000
@@ -184,6 +184,7 @@
     for revid in os.listdir(cache_dir):
         path = os.path.join(cache_dir, revid)
         msg = open(path, 'r').read()
+        error = None
         try:
             server.hub.deliver(msg)
         except xmlrpclib.ProtocolError, e:
@@ -195,7 +196,7 @@
         if error is not None:
             warning("Submitting %s failed: %s" % (revid, error))
         else:
-            os.path.remove(path)
+            os.remove(path)
 
 
 class cmd_cia_submit(Command):


-- 
bazaar-commits mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/bazaar-commits

Reply via email to