about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-12-31 21:02:33 +0100
committerhut <hut@lavabit.com>2009-12-31 21:02:33 +0100
commitad1a420413bdff0f07bdc7023662ef8e6f7a5fff (patch)
tree93f60c2f12cd9f39c7eab23d7f528d79f5fd94f7
parent4365df83d685ac4d27c6453eeef3baf27620dc7e (diff)
downloadranger-ad1a420413bdff0f07bdc7023662ef8e6f7a5fff.tar.gz
cleanups
-rw-r--r--doc/uml/128002.diagram6
-rw-r--r--ranger/commands.py2
-rw-r--r--ranger/fm.py10
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 // <generalisation>
   no_multiplicity_a no_multiplicity_b
 end
 relationcanvas 137346 relation_ref 191234 // <generalisation>
-  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 // <aggregation>
   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)