mirror of
https://github.com/WikiTeam/wikiteam
synced 2024-11-12 07:12:41 +00:00
Merge pull request #238 from WikiTeam/PiRSquared17-patch-1
Set verbose=True for upload
This commit is contained in:
commit
4e57430605
@ -24,7 +24,7 @@ import time
|
||||
import urllib
|
||||
import urllib2
|
||||
from xml.sax.saxutils import quoteattr
|
||||
from internetarchive import get_item, upload
|
||||
from internetarchive import get_item
|
||||
|
||||
import dumpgenerator
|
||||
|
||||
@ -265,7 +265,7 @@ def upload(wikis, config={}):
|
||||
#now also to update the metadata
|
||||
#TODO: not needed for the second file in an item
|
||||
try:
|
||||
item.upload(dump, metadata=md, access_key=accesskey, secret_key=secretkey)
|
||||
item.upload(dump, metadata=md, access_key=accesskey, secret_key=secretkey, verbose=True)
|
||||
uploadeddumps.append(dump)
|
||||
log(wiki, dump, 'ok')
|
||||
except:
|
||||
|
Loading…
Reference in New Issue
Block a user