Wenn der Hostname eines Environment zwar lokal ist, aber kein Passwort
gesetzt ist, handelt es sich wahrscheinlich um einen Tunnel zu einem Produktivsystem. Diese werden nun auch als nicht-lokal behandelt und es wird nach dem Passwort gefragt.develop
parent
4c6521fb48
commit
8f3156e2b2
|
|
@ -210,7 +210,7 @@ def main():
|
||||||
'::1',
|
'::1',
|
||||||
]
|
]
|
||||||
netloc = urlparse.urlparse(env.host).netloc
|
netloc = urlparse.urlparse(env.host).netloc
|
||||||
if netloc not in local_netlocs:
|
if (netloc not in local_netlocs) or (env.pwd is None):
|
||||||
print '\nAchtung, diese Umgebung ist nicht lokal!\n'
|
print '\nAchtung, diese Umgebung ist nicht lokal!\n'
|
||||||
|
|
||||||
print cmd,
|
print cmd,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue