graphite-project / carbon

Global variable is declared but not used PYL-W0602
Bug risk
Major
3 occurrences in this check
Using global for 'prior_stats' but no assignment is done
 75
 76def recordMetrics():
 77  global lastUsage
 78  global prior_stats 79  myStats = stats.copy()
 80  myPriorStats = {}
 81  stats.clear()
Using global for 'lastUsage' but no assignment is done
 74
 75
 76def recordMetrics():
 77  global lastUsage 78  global prior_stats
 79  myStats = stats.copy()
 80  myPriorStats = {}
Using global for 'settings' but no assignment is done
233    ]
234
235    def postOptions(self):
236        global settings237
238        program = self.parent.subCommand
239