Skip to content

Commit

Permalink
Bug 1194987 - NameError: global name 'project_type' is not defined
Browse files Browse the repository at this point in the history
Fix by Richard W.M. Jones([email protected]),added self keyword
project_type is member of class now,in previous verions it was a local member
  • Loading branch information
Anish Patil committed Feb 23, 2015
1 parent f306f7d commit fec1f0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zanataclient/pullcmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def run(self):
locale_map = None

if self.project_type:
command_type = project_type
command_type = self.project_type
dir_option = True
elif self.command_options.has_key('project_type'):
command_type = self.command_options['project_type'][0]['value']
Expand Down

0 comments on commit fec1f0d

Please sign in to comment.