Fix headers and comment dead code.

This commit is contained in:
2014-02-28 11:45:06 +01:00
parent c253cfa9aa
commit 780073f6d8
7 changed files with 30 additions and 41 deletions

View File

@@ -1,6 +1,8 @@
import osc
from osc import cmdln
from osc.core import *
from xml.etree import cElementTree as ET
from osc.core import makeurl
from osc.core import http_GET
class ListCommand:
def __init__(self, api):
@@ -26,11 +28,11 @@ class ListCommand:
def one_request(self, rq):
id = int(rq.get('id'))
act_id = 0
# act_id = 0
actions = rq.findall('action')
act = actions[0]
tprj = act.find('target').get('project')
# tprj = act.find('target').get('project')
tpkg = act.find('target').get('package')
stage_info = self.packages_staged.get(tpkg, ('', 0))