mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-01 18:06:25 +02:00
Merge branch 'master' of https://github.com/cbhaley/calibre
This commit is contained in:
commit
f679aad9a3
1 changed files with 2 additions and 1 deletions
|
|
@ -616,7 +616,8 @@ def expr(self):
|
|||
return AssignNode(arguments[0].name, arguments[1])
|
||||
if id_ == 'arguments' or id_ == 'globals' or id_ == 'set_globals':
|
||||
new_args = []
|
||||
for arg in arguments:
|
||||
for arg_list in arguments:
|
||||
arg = arg_list[0]
|
||||
if arg.node_type not in (Node.NODE_ASSIGN, Node.NODE_RVALUE):
|
||||
self.error(_("Parameters to '{}' must be "
|
||||
"variables or assignments").format(id_))
|
||||
|
|
|
|||
Loading…
Reference in a new issue