diff options
author | hut <hut@lavabit.com> | 2009-12-31 21:02:33 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2009-12-31 21:02:33 +0100 |
commit | ad1a420413bdff0f07bdc7023662ef8e6f7a5fff (patch) | |
tree | 93f60c2f12cd9f39c7eab23d7f528d79f5fd94f7 /ranger | |
parent | 4365df83d685ac4d27c6453eeef3baf27620dc7e (diff) | |
download | ranger-ad1a420413bdff0f07bdc7023662ef8e6f7a5fff.tar.gz |
cleanups
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/commands.py | 2 | ||||
-rw-r--r-- | ranger/fm.py | 10 |
2 files changed, 8 insertions, 4 deletions
diff --git a/ranger/commands.py b/ranger/commands.py index 2f5a2b52..dcc70dc7 100644 --- a/ranger/commands.py +++ b/ranger/commands.py @@ -286,6 +286,8 @@ for varname, var in vars().copy().items(): by_name[var.name or varname] = var except TypeError: pass +del varname +del var def alias(**kw): for key, value in kw.items(): diff --git a/ranger/fm.py b/ranger/fm.py index 45a419a5..2fb7e21c 100644 --- a/ranger/fm.py +++ b/ranger/fm.py @@ -53,11 +53,13 @@ class FM(Actions): self.input_blocked_until = time() + sec def loop(self): - """The main loop consists of: + """ + The main loop consists of: 1. reloading bookmarks if outdated - 2. drawing and finalizing ui - 3. reading and handling user input - 4. after X loops: collecting unused directory objects + 2. letting the loader work + 3. drawing and finalizing ui + 4. reading and handling user input + 5. after X loops: collecting unused directory objects """ self.env.enter_dir(self.env.path) |