Codebase list osrframework / faa9b51
Add a patch to remove upgrade option Sophie Brun 4 years ago
2 changed file(s) with 43 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 From: Sophie Brun <[email protected]>
1 Date: Thu, 23 Jan 2020 15:00:59 +0100
2 Subject: Remove upgrade option
3
4 Last-Update: 2020-01-23
5
6 Description: don't allow upgrade with option. Package must be updated
7 with "apt".
8 ---
9 osrframework/launcher.py | 12 ++++++------
10 1 file changed, 6 insertions(+), 6 deletions(-)
11
12 diff --git a/osrframework/launcher.py b/osrframework/launcher.py
13 index fd499ab..eaf0935 100644
14 --- a/osrframework/launcher.py
15 +++ b/osrframework/launcher.py
16 @@ -30,7 +30,7 @@ import osrframework.mailfy as mailfy
17 import osrframework.phonefy as phonefy
18 import osrframework.searchfy as searchfy
19 import osrframework.usufy as usufy
20 -import osrframework.upgrade as upgrade
21 +#import osrframework.upgrade as upgrade
22
23
24 EPILOG = """
25 @@ -104,11 +104,11 @@ def get_parser():
26 help="Looks for registered accounts with given nicknames.",
27 parents=[usufy.get_parser()]
28 )
29 - subparser_upgrade = subcommands.add_parser(
30 - "upgrade",
31 - help="Updates the module.",
32 - parents=[upgrade.get_parser()]
33 - )
34 +# subparser_upgrade = subcommands.add_parser(
35 +# "upgrade",
36 +# help="Updates the module.",
37 +# parents=[upgrade.get_parser()]
38 +# )
39
40 # About options
41 group_about = parser.add_argument_group('ABOUT ARGUMENTS', 'Showing additional information about this program.')
44 remove-unused-logger-function.patch
55 fix-getConfigPath-issue.patch
66 remove-useless-requirements.patch
7 remove-upgrade-option.patch