Skip to content

Commit

Permalink
Fix inconsistent use of tabs and spaces in indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
neoclust committed May 2, 2023
1 parent d7b865d commit 699f014
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions services/mmc/plugins/glpi/database_93.py
Original file line number Diff line number Diff line change
Expand Up @@ -5052,9 +5052,9 @@ def addEntityRule(self, session, rule_data):
.filter(self.rules.c.sub_type=='PluginFusioninventoryInventoryRuleEntity')\
.filter(self.rules.c.name != 'Root')\
.scalar()
if rank is None:
rank = 0
rule.ranking = rank + 1
if rank is None:
rank = 0
rule.ranking = rank + 1
rule.name = rule_data['name']
rule.description = rule_data['description']
rule.match = rule_data['aggregator']
Expand Down

0 comments on commit 699f014

Please sign in to comment.