Skip to content

Commit f23ad2b

Browse files
committed
Update README
Signed-off-by: Nikola Forró <[email protected]>
1 parent 4ffdd96 commit f23ad2b

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

README.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -201,19 +201,15 @@ with specfile.patches() as patches:
201201
del patches[2]
202202
# inserting a patch with a specific number
203203
patches.insert_numbered(999, 'final.patch')
204-
205-
# fetching non-local sources (including patches)
206-
specfile.download_remote_sources()
207-
208-
# same thing, but trying to fetch from lookaside cache first
209-
specfile.download_remote_sources(lookaside=True)
210204
```
211205

212206
#### Other attributes
213207

214208
```python
215-
print(specfile.url)
216-
specfile.summary = '...'
209+
print(specfile.name)
210+
print(specfile.license)
211+
print(specfile.summary)
212+
specfile.url = 'https://example.com'
217213
```
218214

219215
## Caveats

0 commit comments

Comments
 (0)