diff options
| author | Mika Mäenpää <mika.j.maenpaa@tut.fi> | 2014-12-05 11:01:04 +0200 |
|---|---|---|
| committer | Mika Mäenpää <mika.j.maenpaa@tut.fi> | 2014-12-05 11:01:04 +0200 |
| commit | 78c4b72de1bcfb836a66c1eaadb5d040564afa34 (patch) | |
| tree | a5118dc688eb53df2e3d2415509fbd1ee9f056c7 | |
| parent | 72eb744c4408871178c05726570ef8fdca64bb8a (diff) | |
| download | gitlab-78c4b72de1bcfb836a66c1eaadb5d040564afa34.tar.gz | |
Update example about how to close issue in README
| -rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |
