diff hgext/convert/subversion.py @ 7874:d812029cda85

cleanup: drop variables for unused return values They are unnecessary. I did leave them in localrepo.py where there is something like: _junk = foo() _junk = None to free memory early. I don't know if just `foo()` will free the return value as early.
author Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
date Mon, 23 Mar 2009 13:13:02 +0100
parents 6af7c0e5908c
children 553aa0cbeab6
line wrap: on
line diff
--- a/hgext/convert/subversion.py	Mon Mar 23 13:12:07 2009 +0100
+++ b/hgext/convert/subversion.py	Mon Mar 23 13:13:02 2009 +0100
@@ -177,7 +177,7 @@
             if at >= 0:
                 latest = int(url[at+1:])
                 url = url[:at]
-        except ValueError, e:
+        except ValueError:
             pass
         self.url = geturl(url)
         self.encoding = 'UTF-8' # Subversion is always nominal UTF-8