Skip to content

Commit

Permalink
indentation issues with TempDirectoryContext
Browse files Browse the repository at this point in the history
  • Loading branch information
mlaite committed Apr 19, 2010
1 parent fe1ed68 commit ae40d55
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions client/pony_client.py
Expand Up @@ -188,18 +188,18 @@ def initialize(self):
log_info('changing to temp directory:', self.tempdir)
os.chdir(self.tempdir)

def finish(self):
os.chdir(self.cwd)
try:
Context.finish(self)
finally:
if self.cleanup:
log_info('removing', self.tempdir)
shutil.rmtree(self.tempdir, ignore_errors=True)

def update_client_info(self, info):
Context.update_client_info(self, info)
info['tempdir'] = self.tempdir
def finish(self):
os.chdir(self.cwd)
try:
Context.finish(self)
finally:
if self.cleanup:
log_info('removing', self.tempdir)
shutil.rmtree(self.tempdir, ignore_errors=True)

def update_client_info(self, info):
Context.update_client_info(self, info)
info['tempdir'] = self.tempdir

class VirtualenvContext(Context):
"""
Expand Down

0 comments on commit ae40d55

Please sign in to comment.