1 |
On Fri, 14 Nov 2014 20:45:11 -0800 |
2 |
Zac Medico <zmedico@g.o> wrote: |
3 |
|
4 |
> When getUnreadItems tries to lock the news.unread file, it's safe to |
5 |
> ignore EROFS. This is handled with a ReadOnlyFileSystem exception |
6 |
> raised from the portage.locks.lockfile function. |
7 |
> |
8 |
> X-Gentoo-Bug: 490732 |
9 |
> X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=490732 |
10 |
> --- |
11 |
> This updated patch fixes the typo spotted by Brian Dolbec. |
12 |
> |
13 |
|
14 |
LGTM, go for it. |
15 |
|
16 |
|
17 |
but for future reference... |
18 |
|
19 |
|
20 |
use brackets to group multiline imports instead of line continuations. |
21 |
|
22 |
- from portage.exception import InvalidLocation, OperationNotPermitted, \ |
23 |
- PermissionDenied |
24 |
+ from portage.exception import (InvalidLocation, OperationNotPermitted, |
25 |
+ PermissionDenied, ReadOnlyFileSystem) |
26 |
|
27 |
-- |
28 |
Brian Dolbec <dolsen> |