Skip to content

Commit

Permalink
Modify base_product plugin according to commit 79cbe98
Browse files Browse the repository at this point in the history
Fix a relative import issue for python3 as well.

JIRA: PDC-2059
  • Loading branch information
simozhan committed Aug 4, 2017
1 parent 79cbe98 commit 9f07e7a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pdc_client/plugin_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
import json
import logging

import compat
from pdc_client import compat

# Python 3 compatibility
from pdc_client.compat import iteritems
Expand Down
3 changes: 2 additions & 1 deletion pdc_client/plugins/base_product.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@


class BaseProductPlugin(PDCClientPlugin):
command = 'base-product'

def register(self):
self.set_command('base-product')
self.set_command()

# CRUD: CREATE
create_parser = self.add_action('create', help='create new base product')
Expand Down

0 comments on commit 9f07e7a

Please sign in to comment.