mark pod.py as running on python2
[pingofdeath.git] / pod.py
diff --git a/pod.py b/pod.py
index 7e406df..0774e47 100755 (executable)
--- a/pod.py
+++ b/pod.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python2
 #
 # Marc E. Fiuczynski <mef@cs.princeton.edu>
 # Copyright (C) 2004 The Trustees of Princeton University
@@ -138,4 +138,5 @@ def main():
             pod = protos.get(protocol,noop_pod)
             pod(host,key)
 
-main()
+if __name__ == '__main__':
+    main()