Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

indentation issues with TempDirectoryContext

  • Loading branch information...
commit ae40d552640725c186f481fa6cbfa00c7a4eebb2 1 parent fe1ed68
@mlaite mlaite authored
Showing with 12 additions and 12 deletions.
  1. +12 −12 client/pony_client.py
View
24 client/pony_client.py
@@ -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):
"""
Please sign in to comment.
Something went wrong with that request. Please try again.