[geneagrapher] 78/226: Made a mistake. Changing the name of this file did not keep it from being put into distributions.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Sat Jul 11 17:10:46 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch master
in repository geneagrapher.

commit 6fe3f5e26edfdee786f523e7c1f4ec26e849c46f
Author: David Alber <alber.david at gmail.com>
Date:   Tue Sep 30 02:53:04 2008 +0000

    Made a mistake. Changing the name of this file did not keep it from being put into distributions.
---
 licensify | 33 ---------------------------------
 1 file changed, 33 deletions(-)

diff --git a/licensify b/licensify
deleted file mode 100644
index a46051a..0000000
--- a/licensify
+++ /dev/null
@@ -1,33 +0,0 @@
-"""This small tool copies the license text in the file defined in the
-'license' variable below to the top of each file defined in the
-'files' variable. The license is prepended by the comment character.
-
-This script is meant to be called before packaging."""
-
-import sys
-
-def prependLicense(file, license):
-    res = ''
-
-    lin = open(license, 'r')
-    for line in lin:
-        res = '%s# %s' % (res, line)
-    lin.close()
-    res = '%s\n' % (res)
-
-    fin = open(file, 'r')
-    for line in fin:
-        res = '%s%s' % (res, line)
-
-    fin.close()
-    return res
-
-if __name__ == '__main__':
-    files = ['geneagrapher/GGraph.py', 'geneagrapher/geneagrapher.py',
-             'geneagrapher/grab.py', 'geneagrapher/ggrapher.py']
-    license = 'COPYING'
-    for file in files:
-        res = prependLicense(file, license)
-        fout = open(file, "w")
-        fout.write(res)
-        fout.close()

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/geneagrapher.git



More information about the debian-science-commits mailing list