Skip to content

Commit

Permalink
Fix package group/catagory upload.
Browse files Browse the repository at this point in the history
closes #1623
  • Loading branch information
jortel committed Feb 8, 2016
1 parent 4890b1c commit c90658c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions plugins/pulp_rpm/plugins/importers/yum/upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,11 +271,6 @@ def _handle_group_category_comps(repo, type_id, unit_key, metadata, file_path, c
raise ModelInstantiationError()

unit.save()

if file_path:
unit.set_storage_path(os.path.basename(file_path))
unit.safe_import_content(file_path)

repo_controller.associate_single_unit(repo, unit)


Expand Down

0 comments on commit c90658c

Please sign in to comment.