scripts: fixed shebang line
authormartinko <gamato@users.sf.net>
Wed, 27 Feb 2013 13:50:35 +0000 (14:50 +0100)
committermartinko <gamato@users.sf.net>
Wed, 27 Feb 2013 13:50:35 +0000 (14:50 +0100)
scripts/simple_consumer.py
scripts/simple_local_consumer.py

index df0db11c87149020d552c5d89506368bef1488f6..55ccc31a1b331905a7c65fd3e29b81b1935d0217 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 """Consumer that simply calls SQL query for each event.
 
@@ -66,4 +66,3 @@ class SimpleConsumer(pgq.Consumer):
 if __name__ == '__main__':
     script = SimpleConsumer("simple_consumer3", "src_db", sys.argv[1:])
     script.start()
-
index 6e3eb601c5dbf9f2d779a43a34970ec7b39fe8f4..1c8f97ddec1f6c782d9fc9af1171992a43f16d25 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 """Consumer that simply calls SQL query for each event.
 
@@ -63,4 +63,3 @@ class SimpleLocalConsumer(pgq.LocalConsumer):
 if __name__ == '__main__':
     script = SimpleLocalConsumer("simple_local_consumer3", "src_db", sys.argv[1:])
     script.start()
-