Commit 5ec2dbec authored by Tom Niget's avatar Tom Niget

demo: modify shebang to call Python through /usr/bin/env

parent fbfa8c1a
...@@ -5,3 +5,4 @@ ...@@ -5,3 +5,4 @@
/build/ /build/
/dist/ /dist/
/re6stnet.egg-info/ /re6stnet.egg-info/
.idea
\ No newline at end of file
#!/usr/bin/python #!/usr/bin/env python3
import argparse, math, nemu, os, re, signal import argparse, math, nemu, os, re, signal
import socket, sqlite3, subprocess, sys, time, weakref import socket, sqlite3, subprocess, sys, time, weakref
from collections import defaultdict from collections import defaultdict
......
#!/usr/bin/env python #!/usr/bin/env python3
def __file__(): def __file__():
import argparse, os, sys import argparse, os, sys
sys.dont_write_bytecode = True sys.dont_write_bytecode = True
......
...@@ -397,7 +397,7 @@ class TestRegistryServer(unittest.TestCase): ...@@ -397,7 +397,7 @@ class TestRegistryServer(unittest.TestCase):
self.assertEqual(get_hmac(), [None, key_2, key_1]) self.assertEqual(get_hmac(), [None, key_2, key_1])
#setp 5 # step 5
self.server.updateHMAC() self.server.updateHMAC()
self.assertEqual(get_hmac(), [key_2, None, None]) self.assertEqual(get_hmac(), [key_2, None, None])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment