mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 814796 - Fix NameError when reporting an error. r=glandium
File "c:\mozilla-build\pymake\pymake\data.py", line 1417, in __call__ raise DataError("native command '%s': shell metacharacter '%s' in command line" % (cline, badchar), self.loc) NameError: global name 'cline' is not defined
This commit is contained in:
parent
80eef9ec5f
commit
e837b18c07
@ -1414,9 +1414,9 @@ class _NativeWrapper(_CommandWrapper):
|
||||
# get the module and method to call
|
||||
parts, badchar = process.clinetoargv(self.cline, self.kwargs['cwd'])
|
||||
if parts is None:
|
||||
raise DataError("native command '%s': shell metacharacter '%s' in command line" % (cline, badchar), self.loc)
|
||||
raise DataError("native command '%s': shell metacharacter '%s' in command line" % (self.cline, badchar), self.loc)
|
||||
if len(parts) < 2:
|
||||
raise DataError("native command '%s': no method name specified" % cline, self.loc)
|
||||
raise DataError("native command '%s': no method name specified" % self.cline, self.loc)
|
||||
module = parts[0]
|
||||
method = parts[1]
|
||||
cline_list = parts[2:]
|
||||
|
Loading…
Reference in New Issue
Block a user