Commit 06c39f76 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

fixed an error with strip function where revisions were cut off

parent 801e7e28
...@@ -29,7 +29,9 @@ error_counter = 0 ...@@ -29,7 +29,9 @@ error_counter = 0
for file in os.listdir("."): for file in os.listdir("."):
if (file.endswith(".dwb.tar.gz")): if (file.endswith(".dwb.tar.gz")):
file_stripped=file.strip(".dwb.tar.gz") #file_stripped=file.strip(".dwb.tar.gz")
file_stripped=file[:-len(".dwb.tar.gz")]
print "Processing "+file_stripped
#download the list of production files #download the list of production files
if (urllib2.urlopen(remote_url).read().find(file)!=-1): if (urllib2.urlopen(remote_url).read().find(file)!=-1):
print "ERROR("+file_stripped+"): Already in production" print "ERROR("+file_stripped+"): Already in production"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment