mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 09:43:03 +00:00
commited neotuli's patch for source links
This commit is contained in:
parent
3606143e6f
commit
91c3f94ff9
2 changed files with 22 additions and 8 deletions
|
@ -159,17 +159,21 @@ def main(argv=None):
|
|||
return 1
|
||||
|
||||
cs = ClientSocket(files, confdict['host'], confdict['port'], confdict['user'], confdict['password'])
|
||||
cs.connect()
|
||||
try:
|
||||
cs.connect()
|
||||
|
||||
if not cs.auth():
|
||||
print "Error authenticating you, you bastard"
|
||||
return 1
|
||||
if not cs.auth():
|
||||
print "Error authenticating you, you bastard"
|
||||
return 1
|
||||
|
||||
cs.sendFileMeta()
|
||||
cs.sendFileMeta()
|
||||
|
||||
cs.sendFiles()
|
||||
cs.sendFiles()
|
||||
|
||||
cs.close()
|
||||
cs.close()
|
||||
except KeyboardInterrupt:
|
||||
print "Cancelling"
|
||||
cs.close()
|
||||
|
||||
return 0
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue