Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kwabena Antwi-Boasiako
slapos
Commits
5cd362bf
Commit
5cd362bf
authored
Dec 04, 2012
by
Marco Mariani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed dead method
parent
49d9cbb4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
slapos/recipe/librecipe/__init__.py
slapos/recipe/librecipe/__init__.py
+0
-8
No files found.
slapos/recipe/librecipe/__init__.py
View file @
5cd362bf
...
...
@@ -154,14 +154,6 @@ class BaseSlapRecipe:
self
.
_writeExecutable
(
wrapper_path
,
file_content
)
return
wrapper_path
# XXX methinks the following method is unused / obsolete.
def
createReportRunningWrapper
(
self
,
file_content
):
"""Creates report runnig wrapper and returns its path"""
report_wrapper_path
=
os
.
path
.
join
(
self
.
wrapper_report_directory
,
'slapreport'
)
self
.
_writeExecutable
(
report_wrapper_path
,
file_content
)
return
report_wrapper_path
def
substituteTemplate
(
self
,
template_location
,
mapping_dict
):
"""Returns template content after substitution"""
return
open
(
template_location
,
'r'
).
read
()
%
mapping_dict
...
...
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