Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
webcache
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Taddeüs Kroes
webcache
Commits
7c41d0d6
Commit
7c41d0d6
authored
Feb 08, 2012
by
Taddeus Kroes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed method name.
parent
88d6379f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
cache.py
cache.py
+5
-5
No files found.
cache.py
View file @
7c41d0d6
...
...
@@ -157,15 +157,15 @@ class Cache:
return
self
.
cached
+
h
.
hexdigest
()
def
con
catenate
(
self
):
content
s
=
''
def
con
tent
(
self
):
content
=
''
for
path
in
self
.
files
:
f
=
open
(
path
,
'r'
)
content
s
+=
f
.
read
()
content
+=
f
.
read
()
f
.
close
()
return
content
s
return
content
def
output
(
self
):
""""""
...
...
@@ -191,7 +191,7 @@ class Cache:
if
server_modified
:
self
.
save_administration
(
admin
)
content
=
self
.
con
catenate
()
content
=
self
.
con
tent
()
f
=
open
(
path
,
'w'
)
f
.
write
(
content
)
f
.
close
()
...
...
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