Browse Source

Set LC_ALL to C.UTF-8 to avoid locales messing up with regexes

master
Ricardo Branco 5 years ago
parent
commit
2d10e422a7
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      clean_registry.py

+ 3
- 0
clean_registry.py View File

@@ -39,6 +39,9 @@ REGISTRY_DIR = "REGISTRY_STORAGE_FILESYSTEM_ROOTREGISTRY_DIR"
39 39
 args = None
40 40
 
41 41
 
42
+os.environ['LC_ALL'] = 'C.UTF-8'
43
+
44
+
42 45
 def dockerized():
43 46
     '''Returns True if we're inside a Docker container, False otherwise.'''
44 47
     return os.path.isfile("/.dockerenv")

Loading…
Cancel
Save