Commit 9278e097 authored by Sriram Karra's avatar Sriram Karra

Skip logging in for certain specific ops

Fixes: https://github.com/skarra/ASynK/issues/96
parent 05b81180
......@@ -292,8 +292,10 @@ class AsynkBuilderC:
self.asynk.set_label_re(uinps.label_regex)
self.asynk.set_conflict_resolve(uinps.conflict_resolve)
self.asynk.set_item_id(uinps.item)
self._snarf_auth_creds(uinps)
# self.asynk.set_port(uinps.port)
if not self.asynk.get_op() in ['op_list_profiles',
'op_list_profile_names']:
self._snarf_auth_creds(uinps)
def main (argv=sys.argv):
parser = setup_parser()
......
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