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
c7c78ae5
Commit
c7c78ae5
authored
May 06, 2003
by
Jack Jansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow for Version, Flavor and Download-URL not being set.
parent
705553ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Lib/plat-mac/pimp.py
Lib/plat-mac/pimp.py
+3
-3
No files found.
Lib/plat-mac/pimp.py
View file @
c7c78ae5
...
...
@@ -380,11 +380,11 @@ class PimpPackage:
return
self
.
_dict
[
key
]
def
name
(
self
):
return
self
.
_dict
[
'Name'
]
def
version
(
self
):
return
self
.
_dict
[
'Version'
]
def
flavor
(
self
):
return
self
.
_dict
[
'Flavor'
]
def
version
(
self
):
return
self
.
_dict
.
get
(
'Version'
)
def
flavor
(
self
):
return
self
.
_dict
.
get
(
'Flavor'
)
def
description
(
self
):
return
self
.
_dict
[
'Description'
]
def
homepage
(
self
):
return
self
.
_dict
.
get
(
'Home-page'
)
def
downloadURL
(
self
):
return
self
.
_dict
[
'Download-URL'
]
def
downloadURL
(
self
):
return
self
.
_dict
.
get
(
'Download-URL'
)
def
fullname
(
self
):
"""Return the full name "name-version-flavor" of a package.
...
...
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