Mercurial > public > src > rhodecode
diff pylons_app/lib/utils.py @ 533:460ad816820d celery
fixed bug when new repo had no last commiter,
fixed bug when my_account updating information failed, by not uniq email address.
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Mon, 20 Sep 2010 22:47:20 +0200 |
parents | 6b934c9607e7 |
children | fefffd6fd5f4 |
line wrap: on
line diff
--- a/pylons_app/lib/utils.py Sun Sep 19 03:42:48 2010 +0200 +++ b/pylons_app/lib/utils.py Mon Sep 20 22:47:20 2010 +0200 @@ -221,6 +221,7 @@ revision = -1 message = '' + author = '' @LazyProperty def raw_id(self): @@ -414,7 +415,7 @@ MdfNQo9P+eS7youNdyVuJq4ot2zRsdnLgLCYYip/b7w5jKqUX51IREv4F/FJ7YBy96ja963sJS\n34yd OXDGKEud/R8efZUt\n """ - newdb = open('test.db','wb') + newdb = open('test.db', 'wb') newdb.write(new_db_dump.decode('base64').decode('zlib')) newdb.close() @@ -424,9 +425,9 @@ shutil.rmtree('/tmp/vcs_test') cur_dir = dn(dn(os.path.abspath(__file__))) - tar = tarfile.open(jn(cur_dir,'tests',"vcs_test.tar.gz")) + tar = tarfile.open(jn(cur_dir, 'tests', "vcs_test.tar.gz")) tar.extractall('/tmp') tar.close() - \ No newline at end of file +