From 53069d8212a5e87802ca9535191e8cb056d9a787 Mon Sep 17 00:00:00 2001 From: kennyballou Date: Sat, 9 Mar 2013 18:22:33 -0700 Subject: Use uppercase properties for dictionary value After using pylint I noticed I should have Xnt also use this for the override properties dictionary [http://www.python.org/dev/peps/pep-0008/#constants] --- docs/source/buildfile.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/source/buildfile.rst b/docs/source/buildfile.rst index cec8e30..8200fff 100644 --- a/docs/source/buildfile.rst +++ b/docs/source/buildfile.rst @@ -134,16 +134,16 @@ Build Properties As mentioned in :ref:`xntPropertiesParameters`, Xnt can accept parameters from the command line and pass them into the build file. Xnt doesn't necessarily -expect the dictionary (named `properties`) to exist; but if you ever intend to +expect the dictionary (named `PROPERTIES`) to exist; but if you ever intend to use it, it will have to be defined one way or another (either to an empty dictionary or actually hold values). For example, to define an empty -`properties` dictionary, one could write their build file as such:: +`PROPERTIES` dictionary, one could write their build file as such:: #!/usr/bin/env python from xnt import target - properties = {} + PROPERTIES = {} @target def foo(): -- cgit v1.2.1