[Reproducible-commits] [misc] 02/03: Revert "clean-notes: drop unused apt import" + add a comment to explain why
Mattia Rizzolo
mapreri-guest at moszumanska.debian.org
Thu Feb 12 01:49:04 UTC 2015
This is an automated email from the git hooks/post-receive script.
mapreri-guest pushed a commit to branch master
in repository misc.
commit 8b1d3782c23fc4d1323c8b104193fe8252038781
Author: Mattia Rizzolo <mattia at mapreri.org>
Date: Thu Feb 12 02:11:46 2015 +0100
Revert "clean-notes: drop unused apt import" + add a comment to explain why
This reverts commit d18b04e3d1ce38c381da2bda8355df5dc9efb7e0.
---
clean-notes | 2 ++
1 file changed, 2 insertions(+)
diff --git a/clean-notes b/clean-notes
index cc9ab42..ea38ffb 100755
--- a/clean-notes
+++ b/clean-notes
@@ -8,6 +8,8 @@
#
# Depends: python3 python3-apt python3-json python3-yaml python3-requests python3-psycopg2
+import apt # this is to avoid adding an ugly "apt_pkg.init()" call to
+ # fix a "ValueError: _system not initialized" error.
import sys
import json
import yaml
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/misc.git
More information about the Reproducible-commits
mailing list