mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-19 03:06:33 +00:00
Merge pull request #577 from tahoe-lafs/3007.fix-latin-1-locale
Fix a magic-folder test in Latin 1 (and likely other) locale Fixes: ticket:3007
This commit is contained in:
commit
bcd5fcbffb
@ -29,6 +29,8 @@ workflows:
|
|||||||
- "lint"
|
- "lint"
|
||||||
- "deprecations"
|
- "deprecations"
|
||||||
- "c-locale"
|
- "c-locale"
|
||||||
|
# Any locale other than C or UTF-8.
|
||||||
|
- "another-locale"
|
||||||
|
|
||||||
- "integration":
|
- "integration":
|
||||||
requires:
|
requires:
|
||||||
@ -196,6 +198,15 @@ jobs:
|
|||||||
LANG: "C"
|
LANG: "C"
|
||||||
|
|
||||||
|
|
||||||
|
another-locale:
|
||||||
|
<<: *DEBIAN
|
||||||
|
|
||||||
|
environment:
|
||||||
|
<<: *UTF_8_ENVIRONMENT
|
||||||
|
# aka "Latin 1"
|
||||||
|
LANG: "en_US.ISO-8859-1"
|
||||||
|
|
||||||
|
|
||||||
deprecations:
|
deprecations:
|
||||||
<<: *DEBIAN
|
<<: *DEBIAN
|
||||||
|
|
||||||
|
0
newsfragments/3007.minor
Normal file
0
newsfragments/3007.minor
Normal file
@ -91,7 +91,7 @@ class INotify(object):
|
|||||||
self.callbacks = callbacks
|
self.callbacks = callbacks
|
||||||
|
|
||||||
def event(self, filepath, mask):
|
def event(self, filepath, mask):
|
||||||
with start_action(action_type=u"fake-inotify:event", path=filepath.path, mask=mask):
|
with start_action(action_type=u"fake-inotify:event", path=filepath.asTextMode().path, mask=mask):
|
||||||
for cb in self.callbacks:
|
for cb in self.callbacks:
|
||||||
cb(None, filepath, mask)
|
cb(None, filepath, mask)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user