* add some more guidelines
This commit is contained in:
@@ -8,6 +8,9 @@ Guidelines
|
|||||||
with a trailing slash, and please use the dirnames
|
with a trailing slash, and please use the dirnames
|
||||||
in pisiconfig
|
in pisiconfig
|
||||||
2. Python indentation is usually 4 chars.
|
2. Python indentation is usually 4 chars.
|
||||||
|
3. willUse boyNames()
|
||||||
|
4. Use single quotes for strings if possible
|
||||||
|
5. Follow python philosophy of 'batteries included'
|
||||||
|
|
||||||
Suggestions
|
Suggestions
|
||||||
------------
|
------------
|
||||||
|
|||||||
@@ -1,3 +1,9 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# installation database
|
# installation database
|
||||||
|
|
||||||
|
import shelve
|
||||||
|
|
||||||
|
d = shelve.open( db_dir + '/fuck yeah')
|
||||||
|
|
||||||
|
def isInstalled(name, version, release):
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user