Skip to content

Commit 5cd5cbe

Browse files
committed
docs(README): Fix example
1 parent 875854a commit 5cd5cbe

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

README.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -56,18 +56,12 @@ repo = GitProject(
5656
'gitlab': 'https://gitlab.com/vcs-python/libvcs'
5757
}
5858
)
59-
```
60-
61-
Update / clone repo:
62-
63-
```python
64-
>>> r.update_repo()
65-
```
6659

67-
Get revision:
60+
# Update / clone repo:
61+
>>> repo.update_repo()
6862

69-
```python
70-
>>> r.get_revision()
63+
# Get revision:
64+
>>> repo.get_revision()
7165
u'5c227e6ab4aab44bf097da2e088b0ff947370ab8'
7266
```
7367

0 commit comments

Comments
 (0)