diff options
author | hut <hut@lavabit.com> | 2011-10-05 13:43:41 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2011-10-05 13:44:09 +0200 |
commit | c0d63e78e20428d27715e7afcb56e6711cfd9556 (patch) | |
tree | 2fd85930a1478a0a477482f57b6fc0671b767ef6 /ranger | |
parent | 3da2e57f2f10b95d136da88e2a42bfd90d40b0f4 (diff) | |
download | ranger-c0d63e78e20428d27715e7afcb56e6711cfd9556.tar.gz |
Makefile: added "make todo" and added some notes in code
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/api/commands.py | 1 | ||||
-rw-r--r-- | ranger/ext/command_parser.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/ranger/api/commands.py b/ranger/api/commands.py index 093e93da..ca8b5fad 100644 --- a/ranger/api/commands.py +++ b/ranger/api/commands.py @@ -141,6 +141,7 @@ class Command(FileManagerAware): def tabinsert(self, word): return ''.join([self._tabinsert_left, word, self._tabinsert_right]) + # XXX: Lazy properties? Not so smart? self.line can change after all! @lazy_property def _tabinsert_left(self): try: diff --git a/ranger/ext/command_parser.py b/ranger/ext/command_parser.py index 3b65067c..8bb72c76 100644 --- a/ranger/ext/command_parser.py +++ b/ranger/ext/command_parser.py @@ -16,6 +16,7 @@ import re SETTINGS_RE = re.compile(r'^([^\s]+?)=(.*)$') +# TODO: complete the merge of this into api/commands class LazyParser(object): """Parse commands and extract information""" def __init__(self, line): |