mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-18 18:56:28 +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"
|
||||
- "deprecations"
|
||||
- "c-locale"
|
||||
# Any locale other than C or UTF-8.
|
||||
- "another-locale"
|
||||
|
||||
- "integration":
|
||||
requires:
|
||||
@ -196,6 +198,15 @@ jobs:
|
||||
LANG: "C"
|
||||
|
||||
|
||||
another-locale:
|
||||
<<: *DEBIAN
|
||||
|
||||
environment:
|
||||
<<: *UTF_8_ENVIRONMENT
|
||||
# aka "Latin 1"
|
||||
LANG: "en_US.ISO-8859-1"
|
||||
|
||||
|
||||
deprecations:
|
||||
<<: *DEBIAN
|
||||
|
||||
|
0
newsfragments/3007.minor
Normal file
0
newsfragments/3007.minor
Normal file
@ -91,7 +91,7 @@ class INotify(object):
|
||||
self.callbacks = callbacks
|
||||
|
||||
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:
|
||||
cb(None, filepath, mask)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user