|
|
@ -11,12 +11,17 @@ def no_credential():
|
|
|
|
|
|
|
|
|
|
|
|
lp = Launchpad.login_with('Mass package bug subscription adder', 'production', credential_save_failed=no_credential)
|
|
|
|
lp = Launchpad.login_with('Mass package bug subscription adder', 'production', credential_save_failed=no_credential)
|
|
|
|
teamtowrite = (input('What person/team would you like to use for this? (Launchpad ID) '))
|
|
|
|
teamtowrite = (input('What person/team would you like to use for this? (Launchpad ID) '))
|
|
|
|
filepath = (input('Please specify the path of the input file: '))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
while True:
|
|
|
|
|
|
|
|
try:
|
|
|
|
|
|
|
|
filepath = (input('Please specify the path of the input file: '))
|
|
|
|
with open(filepath, "r") as ins:
|
|
|
|
with open(filepath, "r") as ins:
|
|
|
|
filearray = []
|
|
|
|
filearray = []
|
|
|
|
for line in ins:
|
|
|
|
for line in ins:
|
|
|
|
filearray.append(line.strip())
|
|
|
|
filearray.append(line.strip())
|
|
|
|
|
|
|
|
break
|
|
|
|
|
|
|
|
except FileNotFoundError:
|
|
|
|
|
|
|
|
print("File not found.")
|
|
|
|
|
|
|
|
|
|
|
|
for i in range(len(filearray)):
|
|
|
|
for i in range(len(filearray)):
|
|
|
|
print("Assigning:")
|
|
|
|
print("Assigning:")
|
|
|
|