summaryrefslogtreecommitdiff
path: root/utils/demotions.py
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-05-26 21:42:19 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2006-05-26 21:42:19 +0200
commit4e266172c2a7fef6320df58edf5eb30b3184b2f5 (patch)
tree10c65b17e6a3681676799659b130f2650fae9bdb /utils/demotions.py
parenta8f97b062df3c0d57390e8cd412745516c43eb18 (diff)
downloadpython-apt-4e266172c2a7fef6320df58edf5eb30b3184b2f5.tar.gz
* utils/demotions.py:
- fix bug in the demotion calculation by looking at a empty status file * utils/demoted.cfg: - updated
Diffstat (limited to 'utils/demotions.py')
-rwxr-xr-xutils/demotions.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/demotions.py b/utils/demotions.py
index a41d439c..78f4f2e7 100755
--- a/utils/demotions.py
+++ b/utils/demotions.py
@@ -37,6 +37,7 @@ if __name__ == "__main__":
# init
apt_pkg.Config.Set("Dir::state","./apt/")
apt_pkg.Config.Set("Dir::Etc","./apt")
+ apt_pkg.Config.Set("Dir::State::status","./apt/status")
try:
os.makedirs("apt/lists/partial")
except OSError: