Skip to content

Commit

Permalink
jira: Remove issue_rev_map; no longer used
Browse files Browse the repository at this point in the history
  • Loading branch information
lhh committed Jan 18, 2024
1 parent 8123e57 commit 6de5aa7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions jirate/jboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -617,8 +617,7 @@ def _issue_key(self, alias):
def refresh(self):
if not self._config:
self._config = {'states': {},
'issue_map': {},
'issue_rev_map': {}}
'issue_map': {}}

self.refresh_lists()

Expand Down Expand Up @@ -838,14 +837,14 @@ def config(self):
return copy.copy(self._config)

def get_user_data(self, key):
if key in ('states', 'issue_map', 'issue_rev_map'):
if key in ('states', 'issue_map'):
return KeyError('Reserved configuration keyword: ' + key)
if key in self._config:
return copy.copy(self._config[key])
return None

def set_user_data(self, key, userdata):
if key in ('states', 'issue_map', 'issue_rev_map'):
if key in ('states', 'issue_map'):
return KeyError('Reserved configuration keyword: ' + key)
self._config[key] = copy.copy(userdata)

Expand Down

0 comments on commit 6de5aa7

Please sign in to comment.