Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
01310a0f
Commit
01310a0f
authored
Jul 10, 2001
by
Barry Warsaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
__version__: Bump to 1.2
De-string-module-ification.
parent
7e7f1444
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
Tools/pynche/Main.py
Tools/pynche/Main.py
+8
-6
No files found.
Tools/pynche/Main.py
View file @
01310a0f
...
...
@@ -46,16 +46,15 @@ Where:
initialcolor
initial color, as a color name or #RRGGBB format
"""
__version__
=
'1.
1
'
__version__
=
'1.
2
'
import
sys
import
os
import
string
import
getopt
import
ColorDB
from
PyncheWidget
import
PyncheWidget
from
Switchboard
import
Switchboard
from
StripViewer
import
StripViewer
...
...
@@ -79,15 +78,17 @@ RGB_TXT = [
# Do this because PyncheWidget.py wants to get at the interpolated docstring
# too, for its Help menu.
def
docstring
():
return
string
.
rstrip
(
__doc__
%
globals
()
)
return
__doc__
%
globals
(
)
def
usage
(
status
,
msg
=
''
):
def
usage
(
code
,
msg
=
''
):
print
docstring
()
if
msg
:
print
msg
sys
.
exit
(
status
)
sys
.
exit
(
code
)
...
...
@@ -217,6 +218,7 @@ Version: %s''' % __version__
run
(
app
,
sb
)
sb
.
save_views
()
if
__name__
==
'__main__'
:
main
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment