Commit 68a0d3c2 authored by Łukasz Nowak's avatar Łukasz Nowak

- use paranthesis raise, fix typo

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25705 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 470f43f3
...@@ -112,7 +112,7 @@ def backup(address, known_tid_storage_identifier_dict, repozo_formated_command, ...@@ -112,7 +112,7 @@ def backup(address, known_tid_storage_identifier_dict, repozo_formated_command,
load_count = 2 load_count = 2
while len(to_load): while len(to_load):
if load_count < 1: if load_count < 1:
raise ValueError, 'It was impossible to retrieve all required TIDs. Missing: %s' (to_load, ) raise ValueError('It was impossible to retrieve all required TIDs. Missing: %s' % to_load)
to_load = [] to_load = []
load_count -= 1 load_count -= 1
stored_tid_dict = connection() stored_tid_dict = connection()
......
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