prompt += "Edit overrides, Check, Manual reject, Note edit, Prod, [S]kip, Quit ?"
while prompt.find(answer) == -1:
- try:
- answer = utils.our_raw_input(prompt)
- except IOError, e:
- if e.errno == errno.EPIPE:
- utils.warn("[process_new] Caught EPIPE; skipping.")
- pass
- else:
- raise
+ answer = utils.our_raw_input(prompt)
m = re_default_answer.search(prompt)
if answer == "":
answer = m.group(1)
# pretty soon.
print "Binary-only upload, source in new."
move_to_holding(suite, queue_dir)
+ elif is_source_in_queue_dir(Cnf["Dir::Queue::Newstage"]):
+ # It's in newstage. Accept into the holding area
+ print "Binary-only upload, source in newstage."
+ move_to_holding(suite, queue_dir)
else:
# No case applicable. Bail out. Return will cause the upload
# to be skipped.