summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 00e7017..0931953 100644
--- a/README.md
+++ b/README.md
@@ -48,7 +48,7 @@ for p in gl.Project():
closed = 0 if not issue.closed else 1
print (" %d => %s (closed: %d)" % (issue.id, issue.title, closed))
# and close them all
- issue.closed = 1
+ issue.state_event = "close"
issue.save()
# Get the first 10 groups (pagination)