summaryrefslogtreecommitdiff
path: root/doc/examples
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/acquire.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/acquire.py b/doc/examples/acquire.py
index 1971ba2f..942d0686 100644
--- a/doc/examples/acquire.py
+++ b/doc/examples/acquire.py
@@ -66,7 +66,7 @@ for item in fetcher.items:
print item
if item.status == item.STAT_ERROR:
print "Some error ocured: '%s'" % item.error_text
- if item.complete is False:
+ if not item.complete:
print "No error, still nothing downloaded (%s)" % item.error_text
print