Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
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
Nicolas Wavrant
slapos.package
Commits
12fcce6b
Commit
12fcce6b
authored
Feb 22, 2014
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve OS Signature for better comparation
parent
b9ac2fef
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
slapos/package/distribution.py
slapos/package/distribution.py
+1
-1
No files found.
slapos/package/distribution.py
View file @
12fcce6b
...
@@ -37,7 +37,7 @@ class PackageManager:
...
@@ -37,7 +37,7 @@ class PackageManager:
return
self
.
getOSSignature
()
in
signature_list
return
self
.
getOSSignature
()
in
signature_list
def
getOSSignature
(
self
):
def
getOSSignature
(
self
):
return
"+++"
.
join
(
patched_linux_distribution
()
)
return
"+++"
.
join
(
[
i
.
strip
().
lower
()
for
i
in
patched_linux_distribution
()]
)
def
getDistributionName
(
self
):
def
getDistributionName
(
self
):
return
patched_linux_distribution
()[
0
]
return
patched_linux_distribution
()[
0
]
...
...
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