[Pkg-debile-commits] [debile-slave] 17/28: fix: remove __main__ (used for tests)

Sylvestre Ledru sylvestre at alioth.debian.org
Mon Aug 19 14:55:21 UTC 2013


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

sylvestre pushed a commit to branch master
in repository debile-slave.

commit b7ede1e57bda22dc4f32ca4dcb7679c2c01b0ddf
Author: Matthieu Caneill <matthieu.caneill42 at gmail.com>
Date:   Thu Aug 15 17:18:28 2013 +0200

    fix: remove __main__ (used for tests)
---
 ethel/runners/coccinelle.py |    9 ---------
 1 file changed, 9 deletions(-)

diff --git a/ethel/runners/coccinelle.py b/ethel/runners/coccinelle.py
index 0a6285c..1bd55dc 100644
--- a/ethel/runners/coccinelle.py
+++ b/ethel/runners/coccinelle.py
@@ -42,12 +42,3 @@ def version():
     except:
         out = out.strip()
     return out
-
-
-if __name__ == "__main__":
-    import firehose.model
-    analysis = firehose.model.Analysis(
-        metadata=firehose.model.Metadata(firehose.model.Generator("foo"),
-                                         None, None, None),
-        results=[])
-    print(coccinelle("fontforge_20120731.b-3.dsc", analysis))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-debile/debile-slave.git



More information about the Pkg-debile-commits mailing list