You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bloodhound.apache.org by rj...@apache.org on 2013/11/05 08:45:25 UTC
svn commit: r1538892 -
/bloodhound/trunk/bloodhound_relations/bhrelations/api.py
Author: rjollos
Date: Tue Nov 5 07:45:25 2013
New Revision: 1538892
URL: http://svn.apache.org/r1538892
Log:
0.8dev: Minor code formatting change (non-functional change).
Modified:
bloodhound/trunk/bloodhound_relations/bhrelations/api.py
Modified: bloodhound/trunk/bloodhound_relations/bhrelations/api.py
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_relations/bhrelations/api.py?rev=1538892&r1=1538891&r2=1538892&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_relations/bhrelations/api.py (original)
+++ bloodhound/trunk/bloodhound_relations/bhrelations/api.py Tue Nov 5 07:45:25 2013
@@ -492,11 +492,9 @@ class TicketRelationsSpecifics(Component
pass
def ticket_changed(self, ticket, comment, author, old_values):
- if (
- self._closed_as_duplicate(ticket) and
- self.rls.duplicate_relation_type and
- hasattr(ticket, 'duplicate') # workaround for comment:5:ticket:710
- ):
+ if self._closed_as_duplicate(ticket) and \
+ self.rls.duplicate_relation_type and \
+ hasattr(ticket, 'duplicate'): # workaround for comment:5:ticket:710
try:
self.rls.add(ticket, ticket.duplicate,
self.rls.duplicate_relation_type,