##// END OF EJS Templates
fix undefined variables, spotted by pylint
Benoit Boissinot -
r11879:4e804302 default
parent child Browse files
Show More
@@ -7,6 +7,7 b''
7
7
8 import re, string
8 import re, string
9 import util
9 import util
10 from i18n import _
10
11
11 def parsedag(desc):
12 def parsedag(desc):
12 '''parses a DAG from a concise textual description; generates events
13 '''parses a DAG from a concise textual description; generates events
@@ -5,7 +5,7 b''
5 # This software may be used and distributed according to the terms of the
5 # This software may be used and distributed according to the terms of the
6 # GNU General Public License version 2 or any later version.
6 # GNU General Public License version 2 or any later version.
7
7
8 import urllib, tempfile, os
8 import urllib, tempfile, os, sys
9 from i18n import _
9 from i18n import _
10 from node import bin, hex
10 from node import bin, hex
11 import changegroup as changegroupmod
11 import changegroup as changegroupmod
@@ -36,7 +36,7 b' class wirerepository(repo.repository):'
36 try:
36 try:
37 return decodelist(d[:-1])
37 return decodelist(d[:-1])
38 except:
38 except:
39 self.abort(error.ResponseError(_("unexpected response:"), d))
39 self._abort(error.ResponseError(_("unexpected response:"), d))
40
40
41 def branchmap(self):
41 def branchmap(self):
42 d = self._call("branchmap")
42 d = self._call("branchmap")
General Comments 0
You need to be logged in to leave comments. Login now