Skip to content

Commit

Permalink
Merge pull request #18 from bcl/master
Browse files Browse the repository at this point in the history
Fix GenericPush.run references to self for push_trans_only
  • Loading branch information
gnuman committed Feb 25, 2015
2 parents 6ab361c + af15ea8 commit 00d9b94
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions zanataclient/pushcmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ class GenericPush(Push):

def __init__(self,*args,**kargs):
super(GenericPush,self).__init__(*args,**kargs)

def run(self):
pushtrans = None
push_trans_only = False
Expand All @@ -447,9 +447,9 @@ def run(self):
push_trans_only = True

if push_trans_only:
transfolder = self.process_transdir(command_options, "")
merge = self.process_merge(command_options)
lang_list = self.get_lang_list(self.command_options, project_config)
transfolder = self.process_transdir(self.command_options, "")
merge = self.process_merge(self.command_options)
lang_list = self.get_lang_list(self.command_options, self.project_config)

if self.project_config.has_key('locale_map'):
locale_map = self.project_config['locale_map']
Expand Down

0 comments on commit 00d9b94

Please sign in to comment.