[Python-modules-commits] [pyjokes] 02/02: Remove unneeded script and change shebang

Ethan Ward ethanward-guest at moszumanska.debian.org
Sat Aug 26 21:26:23 UTC 2017


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

ethanward-guest pushed a commit to branch patch-queue/master
in repository pyjokes.

commit fd8ff941c45c9cee3e264d4d4fb9681c90051689
Author: Ethan Ward <ethan.ward at mycroft.ai>
Date:   Mon Aug 21 20:13:31 2017 -0500

    Remove unneeded script and change shebang
---
 scripts/pyjoke  |  2 +-
 scripts/pyjokes | 11 -----------
 2 files changed, 1 insertion(+), 12 deletions(-)

diff --git a/scripts/pyjoke b/scripts/pyjoke
index cc90d9a..72a8472 100755
--- a/scripts/pyjoke
+++ b/scripts/pyjoke
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 
 import os
 import argparse
diff --git a/scripts/pyjokes b/scripts/pyjokes
deleted file mode 100755
index c1c07c0..0000000
--- a/scripts/pyjokes
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/usr/bin/env python
-
-import sys
-
-
-def main():
-    print('Did you mean pyjoke?')
-    return 1
-
-if __name__ == '__main__':
-    sys.exit(main())

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pyjokes.git



More information about the Python-modules-commits mailing list