Public » Miscellaneous » Rediqueuelous A silly experiment with Redis-based, reloading queueing systems
Clone URL:  
Pushed to one repository · View In Graph Contained in tip

tip be more grown-up about function names

Changeset 3493058c2d1f

Parent ab0e7c7af7d6

by Profile picture of Benjamin PollackBenjamin Pollack

Changes to one file · Browse files at 3493058c2d1f Showing diff from parent ab0e7c7af7d6 Diff from another changeset...

Change 1 of 2 Show Entire File rediqueuelous.py Stacked
 
27
28
29
30
31
 
32
33
34
 
50
51
52
53
 
54
55
56
 
27
28
29
 
 
30
31
32
33
 
49
50
51
 
52
53
54
55
@@ -27,8 +27,7 @@
  global RUN   RUN = False   -def tea_time(mod): - "Because it's a rediqueuelous function name, getit? getit?" +def reload_module(mod):   mod = mod.replace('.', '_')   path = R.hget('rediqueue.modules', mod)   if os.path.isdir(path): @@ -50,7 +49,7 @@
  kwargs = None   mod, func = job.split('.')   if mod not in MODULES: - tea_time(mod) + reload_module(mod)   if kwargs:   getattr(MODULES[mod], func)(**kwargs)   else: