Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.toolbox
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
6
Merge Requests
6
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
nexedi
slapos.toolbox
Commits
0ad53e01
Commit
0ad53e01
authored
Jul 25, 2013
by
Marco Mariani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
grammar nazi
parent
6c379644
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
slapos/runner/gittools.py
slapos/runner/gittools.py
+1
-1
slapos/runner/utils.py
slapos/runner/utils.py
+1
-1
No files found.
slapos/runner/gittools.py
View file @
0ad53e01
...
@@ -14,7 +14,7 @@ from flask import jsonify
...
@@ -14,7 +14,7 @@ from flask import jsonify
def
cloneRepo
(
data
):
def
cloneRepo
(
data
):
"""Clonne a repository
"""Clonne a repository
Args:
Args:
data: a diction
n
ary of parameters to use:
data: a dictionary of parameters to use:
data['path'] is the path of the new project
data['path'] is the path of the new project
data['repo'] is the url of the repository to be cloned
data['repo'] is the url of the repository to be cloned
data['email'] is the user email
data['email'] is the user email
...
...
slapos/runner/utils.py
View file @
0ad53e01
...
@@ -734,7 +734,7 @@ def readParameters(path):
...
@@ -734,7 +734,7 @@ def readParameters(path):
path: path of the xml file that contains parameters
path: path of the xml file that contains parameters
Return:
Return:
a diction
n
ary of instance parameters."""
a dictionary of instance parameters."""
if os.path.exists(path):
if os.path.exists(path):
try:
try:
xmldoc = minidom.parse(path)
xmldoc = minidom.parse(path)
...
...
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