Procházet zdrojové kódy

Fix clean_revisions() in clean_tag() when -x (remove) is specified

master
Ricardo Branco před 6 roky
rodič
revize
8015153b67
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. 3
    3
      clean_registry.py

+ 3
- 3
clean_registry.py Zobrazit soubor

11
   - This script may run stand-alone (on local setups) or dockerized (which supports remote Docker setups).
11
   - This script may run stand-alone (on local setups) or dockerized (which supports remote Docker setups).
12
   - This script is Python 3 only.
12
   - This script is Python 3 only.
13
 
13
 
14
-v1.2.2 by Ricardo Branco
14
+v1.3 by Ricardo Branco
15
 
15
 
16
 MIT License
16
 MIT License
17
 """
17
 """
34
 
34
 
35
 import yaml
35
 import yaml
36
 
36
 
37
-VERSION = "1.2.2"
37
+VERSION = "1.3"
38
 REGISTRY_DIR = "REGISTRY_STORAGE_FILESYSTEM_ROOTREGISTRY_DIR"
38
 REGISTRY_DIR = "REGISTRY_STORAGE_FILESYSTEM_ROOTREGISTRY_DIR"
39
 
39
 
40
 
40
 
82
             if index == current:
82
             if index == current:
83
                 continue
83
                 continue
84
             remove(path + index)
84
             remove(path + index)
85
-        clean_revisions(repo)
85
+    clean_revisions(repo)
86
     return True
86
     return True
87
 
87
 
88
 
88
 

Načítá se…
Zrušit
Uložit