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
Ivan Tyagov
slapos.core
Commits
d0b40e71
Commit
d0b40e71
authored
Apr 18, 2013
by
Marco Mariani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed comments
parent
ec3146d1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
slapos/bang.py
slapos/bang.py
+2
-1
slapos/cli/config.py
slapos/cli/config.py
+0
-2
No files found.
slapos/bang.py
View file @
d0b40e71
...
@@ -28,10 +28,11 @@
...
@@ -28,10 +28,11 @@
#
#
##############################################################################
##############################################################################
import
slapos.slap.slap
import
argparse
import
argparse
import
ConfigParser
import
ConfigParser
import
slapos.slap.slap
def
do_bang
(
config
,
message
):
def
do_bang
(
config
,
message
):
computer_id
=
config
.
get
(
'slapos'
,
'computer_id'
)
computer_id
=
config
.
get
(
'slapos'
,
'computer_id'
)
...
...
slapos/cli/config.py
View file @
d0b40e71
...
@@ -12,8 +12,6 @@ class ConfigError(Exception):
...
@@ -12,8 +12,6 @@ class ConfigError(Exception):
class
ConfigCommand
(
Command
):
class
ConfigCommand
(
Command
):
"Base class for commands that require a configuration file"
"Base class for commands that require a configuration file"
# TODO: what commands need slapos.cfg / slapos_client.cfg?
# XXX: always use SafeConfigParser, or sometimes RawConfigParser?
log
=
None
log
=
None
...
...
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