Skip to content

Instantly share code, notes, and snippets.

@cluther
Created July 9, 2011 04:29
Show Gist options
  • Save cluther/1073311 to your computer and use it in GitHub Desktop.
Save cluther/1073311 to your computer and use it in GitHub Desktop.
Rebuild all Graph Definitions' Relationships
for t in dmd.Devices.getAllRRDTemplates():
for g in t.graphDefs():
g.buildRelations()
commit()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment