From ae014ea351f608088c0cc88b0f03e7ac10c8bf74 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Wed, 4 Aug 2010 00:57:44 -0300 Subject: [PATCH] fixed the cleanup of package database before extract the new --- g_octave/__init__.py | 2 +- g_octave/fetch.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/g_octave/__init__.py b/g_octave/__init__.py index 2ea55bd..d17e8c8 100644 --- a/g_octave/__init__.py +++ b/g_octave/__init__.py @@ -32,4 +32,4 @@ __copyright__ = '(c) 2009-2010 %s' % __author__ __license__ = 'GPLv2' -__version__ = '0.3' +__version__ = '0.4' diff --git a/g_octave/fetch.py b/g_octave/fetch.py index 5751ca0..b8a8d6c 100644 --- a/g_octave/fetch.py +++ b/g_octave/fetch.py @@ -40,7 +40,7 @@ from contextlib import closing def clean_db(): - for f in ['info.json', 'patches', 'octave-forge']: + for f in ['timestamp', 'info.json', 'patches', 'octave-forge']: current = os.path.join(conf.db, f) if os.path.isdir(current): shutil.rmtree(current)