[Pcsclite-git-commit] [website] 04/06: create_driver_version.py: remove empty cache entries
Ludovic Rousseau
rousseau at moszumanska.debian.org
Thu Dec 3 18:48:54 UTC 2015
This is an automated email from the git hooks/post-receive script.
rousseau pushed a commit to branch master
in repository website.
commit c3c306dda15bdacd43de2726887cd199c73aa8b0
Author: Ludovic Rousseau <ludovic.rousseau at free.fr>
Date: Wed Nov 18 20:51:35 2015 +0100
create_driver_version.py: remove empty cache entries
Cache entries with no data are removed so they are regenerated on the
next run.
---
create_driver_version.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/create_driver_version.py b/create_driver_version.py
index 292497b..5ef933b 100755
--- a/create_driver_version.py
+++ b/create_driver_version.py
@@ -107,6 +107,7 @@ def main():
first_commit = int(commits[-1])
except ValueError:
sys.stderr.write("\n*** No commit found for reader: %s\n\n" % reader)
+ os.unlink(filename)
first_commit = 99999999999
Releases[reader] = driver_revision_to_version(first_commit)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pcsclite/website.git
More information about the Pcsclite-cvs-commit
mailing list