Skip to content

Commit

Permalink
remove old nodeview
Browse files Browse the repository at this point in the history
  • Loading branch information
Lorenzo [hdd] Angeli committed Apr 25, 2011
1 parent 7aab1ab commit 62cc956
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 94 deletions.
3 changes: 3 additions & 0 deletions .pydevproject
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,7 @@
</pydev_pathproperty>
<pydev_property name="org.python.pydev.PYTHON_PROJECT_VERSION">python 2.6</pydev_property>
<pydev_property name="org.python.pydev.PYTHON_PROJECT_INTERPRETER">Default</pydev_property>
<pydev_pathproperty name="org.python.pydev.PROJECT_EXTERNAL_SOURCE_PATH">
<path>/home/langeli/Documents/_DEVEL_/EclipseProjects/local/hlog_config/src</path>
</pydev_pathproperty>
</pydev_project>
3 changes: 2 additions & 1 deletion src/drQt.py
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,8 @@ def _get_all_jobs(self):
return job_list

def _get_all_slaves(self):
computer_list = drqueue.request_computer_list (drqueue.CLIENT)
computer_list = drqueue.request_computer_list(drqueue.CLIENT)
print computer_list
return computer_list

def _create_context(self,QPoint):
Expand Down
4 changes: 2 additions & 2 deletions src/lib/jobTab.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

from utils import icons_path
from utils import tooltips_path
from lib.nodeViewer import NodeViewer
from lib.newNodeViewer import NodeViewer

logging.basicConfig()
log = logging.getLogger("job_tab")
Expand Down Expand Up @@ -103,7 +103,7 @@ def _set_values(self):
# for i in range(self._drq_job_object.envvars.nvariables):
# env_id= drqueue.request_job_envvars(id,self._drq_job_object.envvars,i)
# print self._drq_job_object.envvars_dump_info
#

# if ptr:
# print ">>",id,self._drq_job_object.envvars.variables.ptr[i].name
# var= drqueue.request_job_envvars(id,self._drq_job_object.envvars,i)
Expand Down
84 changes: 0 additions & 84 deletions src/lib/nodeViewer.py

This file was deleted.

22 changes: 15 additions & 7 deletions tst.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,25 @@

import drqueue.base.libdrqueue as drqueue

def print_methods(inobject):
for ink,inv in inobject.__dict__.iteritems():
if not ink.startswith("_"):
print ink,inv

jobs= drqueue.request_job_list(drqueue.CLIENT)
for job in jobs:
id = job.id
name = job.name
nvars=job.envvars.nvariables

vars=job.envvars.variables
print pformat(dir(vars))
vars=job.envvars
print vars.name


# print pformat(dir(job.envvars))
#
# drqueue.envvars.dump_info(job.envvars)
# for i in range(nvars):
# print vars
# print job.envvars.nvariables

# vars=drqueue.envvars_dump_info(nvars)

# var=drqueue.envvars_variable_find(vars,"USER")
# if var:
# print var.name , var.value

0 comments on commit 62cc956

Please sign in to comment.