File tree Expand file tree Collapse file tree 2 files changed +5
-21
lines changed Expand file tree Collapse file tree 2 files changed +5
-21
lines changed Original file line number Diff line number Diff line change 17
17
# limitations under the License.
18
18
19
19
20
- __package__ = """pythonrepo"""
21
-
22
-
23
20
__module__ = """pythonrepo"""
24
-
25
-
26
- __name__ = """pythonrepo"""
21
+ """This is pythonrepo __module Template"""
27
22
28
23
29
24
__version__ = """1.1.4"""
46
41
raise baton
47
42
48
43
49
- try :
50
- from . import pythonrepo as pythonrepo
51
- except Exception as importErr :
52
- del importErr
53
- import pythonrepo .pythonrepo as pythonrepo
54
-
55
-
56
44
if __name__ in '__main__' :
57
45
if pythonrepo .__name__ is None :
58
46
raise ImportError (str ("Failed to open pythonrepo" ))
59
47
pythonrepo .main (sys .argv [1 :])
60
- exit (0 )
Original file line number Diff line number Diff line change 18
18
# limitations under the License.
19
19
20
20
21
- __module__ = """pythonrepo"""
22
-
23
-
24
- # __name__ = """pythonrepo"""
21
+ __module__ = """pythonrepo.pythonrepo"""
25
22
26
23
27
24
try :
28
- import sys
25
+ from . import sys
29
26
import argparse
30
27
except Exception as err :
31
28
# Collect Error Info
53
50
"""Contains the short epilog of the program CLI help text."""
54
51
55
52
56
- __version__ = """1.1.4"""
53
+ from . import __version__ as __version__
54
+ # __version__ = """1.1.4"""
57
55
"""The version of this program."""
58
56
59
57
@@ -101,7 +99,6 @@ def parseArgs(arguments=None):
101
99
102
100
def useTool (tool , * arguments ):
103
101
"""Handler for launching the functions."""
104
- # arguments = __checkToolArgs(arguments)
105
102
if (tool is not None ) and (tool in TASK_OPTIONS .keys ()):
106
103
try :
107
104
# print(str("launching: " + tool))
You can’t perform that action at this time.
0 commit comments