commit a4fd3d90ea251061bf1ce76240b2a3125465505f
Author: S.Çağlar Onur <caglar@cs.princeton.edu>
Date:   Wed Jun 9 13:29:15 2010 -0400

    Fix following error
    
    Traceback (most recent call last):
      File "/usr/lib/python2.5/site-packages/func/minion/server.py", line 196, in __call__
        rc = self.__method(*args)
      File "/usr/lib/python2.5/site-packages/func/minion/modules/func_module.py", line 43, in wrapper
        return fn(*args)
      File "/usr/lib/python2.5/site-packages/func/minion/modules/hardware.py", line 63, in inventory
        data = hw_info(with_devices=True)
    NameError: global name 'hw_info' is not defined

diff --git a/func/minion/modules/hardware.py b/func/minion/modules/hardware.py
index ce72c2b..0937d56 100644
--- a/func/minion/modules/hardware.py
+++ b/func/minion/modules/hardware.py
@@ -60,7 +60,7 @@ class HardwareModule(func_module.FuncModule):
         return results
 
     def inventory(self):
-        data = hw_info(with_devices=True)
+        data = self.info()
         # remove bogomips because it keeps changing for laptops
         # and makes inventory tracking noisy
         if data.has_key("bogomips"):
