Procházet zdrojové kódy

comment out debugging statement..

main
John-Mark Gurney před 7 roky
rodič
revize
2d96239ffa
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      publishers/s3.py

+ 1
- 1
publishers/s3.py Zobrazit soubor

@@ -46,7 +46,7 @@ class S3(Publisher):
redirect_meta = redirect['to']
k.key = item.path.replace(str(root), '')
kmd5 = bucket.get_key(item.path.replace(str(root), ''))
print 'f:', `item.path`, `kmd5.etag[1:-1], k.compute_md5(open(item.path))[0]`
#print 'f:', `item.path`, `kmd5.etag[1:-1], k.compute_md5(open(item.path))[0]`
if kmd5 is None or \
kmd5.etag[1:-1] != k.compute_md5(open(item.path))[0]:
print 'updating:', `item.path.replace(str(root), '')`


Načítá se…
Zrušit
Uložit