Package: bzr
Version: 0.7-2
Severity: normal
Tags: patch

--- /tmp/builtins.py  2006-02-14 10:38:21.449525973 +0100
+++ /usr/lib/python2.4/site-packages/bzrlib/builtins.py 2006-02-14 
10:41:13.509702178 +0100
@@ -1113,12 +1113,13 @@
             igns += '\n'
         igns += name_pattern + '\n'
 
+        f = None
         try:
             f = AtomicFile(ifn, 'wt')
             f.write(igns.encode('utf-8'))
             f.commit()
         finally:
-            f.close()
+            if f is not None: f.close()
 
         inv = tree.inventory
         if inv.path2id('.bzrignore'):

-- 
 .''`.     martin f. krafft <[EMAIL PROTECTED]>
: :'  :    proud Debian developer and author: http://debiansystem.info
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Invalid/expired PGP (sub)keys? Use subkeys.pgp.net as keyserver!
 
"out of the crooked timber of humanity,
 no straight thing was ever made."
                                                       -- imanuel kant

Attachment: signature.asc
Description: Digital signature (GPG/PGP)

Reply via email to