Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Hardik Juneja
slapos.core
Commits
b2b57e1c
Commit
b2b57e1c
authored
Jan 20, 2013
by
Marco Mariani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correctly identify Ubuntu
parent
2a081f07
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
slapos/cache.py
slapos/cache.py
+2
-2
No files found.
slapos/cache.py
View file @
b2b57e1c
...
@@ -5,12 +5,12 @@ import argparse
...
@@ -5,12 +5,12 @@ import argparse
import
ConfigParser
import
ConfigParser
import
hashlib
import
hashlib
import
json
import
json
import
platform
import
re
import
re
import
sys
import
sys
import
urllib2
import
urllib2
from
slapos.grid
import
networkcache
from
slapos.grid
import
networkcache
from
slapos.grid.distribution
import
patched_linux_distribution
def
maybe_md5
(
s
):
def
maybe_md5
(
s
):
...
@@ -45,7 +45,7 @@ def cache():
...
@@ -45,7 +45,7 @@ def cache():
entries
=
json
.
loads
(
response
.
read
())
entries
=
json
.
loads
(
response
.
read
())
linux_distribution
=
p
latform
.
linux_distribution
()
linux_distribution
=
p
atched_
linux_distribution
()
header_printed
=
False
header_printed
=
False
...
...
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