File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 56
56
"osx" : "osx" ,
57
57
"sunos" : "sunos" ,
58
58
"win32" : "windows" ,
59
- "windows" : "windows" ,
60
- "common" : "common" ,
59
+ "windows" : "windows"
61
60
}
62
61
63
62
@@ -210,7 +209,7 @@ def get_platform() -> str:
210
209
211
210
212
211
def get_platform_list () -> List [str ]:
213
- platforms = list (set (OS_DIRECTORIES .values ()))
212
+ platforms = [ 'common' ] + list (set (OS_DIRECTORIES .values ()))
214
213
current_platform = get_platform ()
215
214
platforms .remove (current_platform )
216
215
platforms .insert (0 , current_platform )
@@ -593,7 +592,7 @@ def create_parser() -> ArgumentParser:
593
592
action = 'store_true' ,
594
593
help = "Delete the local cache of pages and exit" )
595
594
596
- all_platforms = sorted (set (OS_DIRECTORIES .values ()))
595
+ all_platforms = sorted (set (OS_DIRECTORIES .values ())) + [ 'common' ]
597
596
platforms_str = "[" + ", " .join (all_platforms ) + "]"
598
597
599
598
parser .add_argument (
You can’t perform that action at this time.
0 commit comments