Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
kamaki
Commits
2a428a7f
Commit
2a428a7f
authored
Mar 28, 2014
by
Stavros Sachtouris
Browse files
Update cli.cmds.history class names (pep8)
Rename: _init_history --> _HistoryInit
parent
35129620
Changes
1
Hide whitespace changes
Inline
Side-by-side
kamaki/cli/cmds/history.py
View file @
2a428a7f
...
...
@@ -42,7 +42,7 @@ history_cmds = CommandTree('history', 'Kamaki command history')
_commands
=
[
history_cmds
]
class
_
init_h
istory
(
CommandInit
):
class
_
H
istory
Init
(
CommandInit
):
@
errors
.
Generic
.
all
@
errors
.
History
.
init
def
_run
(
self
):
...
...
@@ -54,7 +54,7 @@ class _init_history(CommandInit):
@
command
(
history_cmds
)
class
history_show
(
_
init_h
istory
):
class
history_show
(
_
H
istory
Init
):
"""Show history
Featutes:
- slice notation (cmd numbers --> N or :N or N: or N1:N2)
...
...
@@ -86,7 +86,7 @@ class history_show(_init_history):
@
command
(
history_cmds
)
class
history_clean
(
_
init_h
istory
):
class
history_clean
(
_
H
istory
Init
):
"""Clean up history (permanent)"""
@
errors
.
Generic
.
all
...
...
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