Add launcher.bat for execution policy bypass, remove tracked scripts/, scrub real namespace from patch-battlegroup-example.sh
This commit is contained in:
1 parent
1fcfe0f144
commit
8b5b38c5c2
5 files changed
+6
-313
No files matched your search
@@ -1,16 +0,0 @@
|
||||
import sys, psycopg2
|
||||
try:
|
||||
host = 'localhost'
|
||||
port = int(sys.argv[1])
|
||||
i = 2
|
||||
while i < len(sys.argv):
|
||||
if sys.argv[i] == '-host' and i + 1 < len(sys.argv):
|
||||
host = sys.argv[i + 1]
|
||||
i += 2
|
||||
else:
|
||||
i += 1
|
||||
c = psycopg2.connect(host=host, port=port, user='postgres', password='postgres', dbname='dune', connect_timeout=3)
|
||||
c.close()
|
||||
print('ok')
|
||||
except:
|
||||
pass
|
||||
Reference in new issue
Block a user