Verified Commit 14ee2c0b authored by Andrej Shadura's avatar Andrej Shadura
Browse files

Remove unused variables



Signed-off-by: Andrej Shadura's avatarAndrej Shadura <andrew.shadura@collabora.co.uk>
parent b694331e
......@@ -152,10 +152,10 @@ def do_dput(self, subcmd, opts, *args):
package_list = osc.core.meta_get_packagelist(
conf.config['apiurl'], proj_name)
# Starting the project
project = osc.core.Project.init_project(conf.config['apiurl'],
dir=dput.working_dir / proj_name,
project=proj_name)
# Start the project
osc.core.Project.init_project(conf.config['apiurl'],
dir=dput.working_dir / proj_name,
project=proj_name)
# check if the package exists on server, otherwise create one
if package_name not in package_list:
......@@ -180,8 +180,6 @@ def do_dput(self, subcmd, opts, *args):
['source', proj_name, package_name, f],
query={})
lines = []
remote_dsc = Dsc(osc.core.streamfile(u, bufsize='line'))
for entry in remote_dsc.get('Files'):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment