From ae40d552640725c186f481fa6cbfa00c7a4eebb2 Mon Sep 17 00:00:00 2001 From: MLaite Date: Mon, 19 Apr 2010 16:24:31 -0400 Subject: [PATCH] indentation issues with TempDirectoryContext --- client/pony_client.py | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/client/pony_client.py b/client/pony_client.py index 4bab3c0..cdc4fba 100644 --- a/client/pony_client.py +++ b/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): """