OSDN Git Service

TODO delete
authorJunichi Shinohara <junichi@karesansui-project.info>
Thu, 4 Jun 2009 03:46:07 +0000 (12:46 +0900)
committerJunichi Shinohara <junichi@karesansui-project.info>
Thu, 4 Jun 2009 03:46:07 +0000 (12:46 +0900)
karesansui/db/_2pysilhouette.py
karesansui/gadget/guestby1cpu.py
karesansui/gadget/server.py

index 0e8f5af..a9eefa7 100644 (file)
@@ -60,8 +60,8 @@ def get_engine():
                               poolclass=SingletonThreadPool,
                               #echo = opts.verbose,
                               #echo_pool = opts.verbose,
-                              echo=True, # TODO
-                              echo_pool=True # TODO
+                              echo=True,
+                              echo_pool=True
                               )
             else:
                 __db = Database(karesansui.sheconf['database.url'],
@@ -73,8 +73,8 @@ def get_engine():
                               max_overflow=int(karesansui.sheconf['database.pool.max.overflow']),
                               #echo = opts.verbose,
                               #echo_pool = opts.verbose,
-                              echo=True, # TODO
-                              echo_pool=True # TODO
+                              echo=True,
+                              echo_pool=True
                               )
 
         __engine = __db.get_engine()
index d0430a7..eb79fee 100644 (file)
@@ -102,7 +102,6 @@ class GuestBy1Cpu(Rest):
         TODO: English Comment
         </comment-en>
         """
-        # TODO: valid
         (host_id, guest_id) = self.chk_guestby1(param)
         if guest_id is None: web.notfound()
 
index 66c4491..521ddd8 100644 (file)
@@ -327,7 +327,6 @@ class Server(Rest):
         _job = Job('%s command' % cmdname, 0, action_cmd)
         _jobgroup.jobs.append(_job)
 
-        #TODO: machine_id = 1 is version 1 only
         host = findbyhost1(self.orm, 1);
 
         _machine2jobgroup = m2j_new(machine=host,