From ad1a420413bdff0f07bdc7023662ef8e6f7a5fff Mon Sep 17 00:00:00 2001 From: hut Date: Thu, 31 Dec 2009 21:02:33 +0100 Subject: cleanups --- doc/uml/128002.diagram | 6 +++++- ranger/commands.py | 2 ++ ranger/fm.py | 10 ++++++---- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/doc/uml/128002.diagram b/doc/uml/128002.diagram index ed57a90d..b101cd33 100644 --- a/doc/uml/128002.diagram +++ b/doc/uml/128002.diagram @@ -166,7 +166,10 @@ relationcanvas 135938 relation_ref 171266 // no_multiplicity_a no_multiplicity_b end relationcanvas 137346 relation_ref 191234 // - from ref 137218 z 2001 to ref 134530 + geometry VHV + from ref 137218 z 2001 to point 500 370 + line 147330 z 2001 to point 598 370 + line 147458 z 2001 to ref 134530 no_role_a no_role_b no_multiplicity_a no_multiplicity_b end @@ -203,6 +206,7 @@ end relationcanvas 145538 relation_ref 198530 // geometry HVr decenter_begin 713 + decenter_end 581 from ref 129922 z 2001 to point 559 417 line 146306 z 2001 to ref 137218 no_role_a no_role_b 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) -- cgit 1.4.1-2-gfad0