Browse Source

minor bug fixes

master
KaiSD 11 years ago
parent
commit
8f07f06981
4 changed files with 6 additions and 1 deletions
  1. +2
    -0
      .gitignore
  2. +2
    -1
      ktt/atg.py
  3. +1
    -0
      ktt/template.py
  4. +1
    -0
      ktt_atgcsv.py

+ 2
- 0
.gitignore View File

@@ -35,3 +35,5 @@ nosetests.xml
.pydevproject .pydevproject


GoogleIssues2CSV.py GoogleIssues2CSV.py
Mantis.xml
MantisXML.txt

+ 2
- 1
ktt/atg.py View File

@@ -53,7 +53,7 @@ class ATG(object):
self.log(' Saved %s' % (name+'.'+extension)) self.log(' Saved %s' % (name+'.'+extension))
f.close() f.close()
else: else:
name = self.template.bonusPrefix + '.' + extension
name = self.template.bonusPrefix
if name == '.': if name == '.':
name = self.template.keyField name = self.template.keyField
namepath = name.replace('\\', '/').split('/') namepath = name.replace('\\', '/').split('/')
@@ -71,4 +71,5 @@ class ATG(object):
''' '''
Print information Print information
''' '''
#print 'ATG:', text
pass pass

+ 1
- 0
ktt/template.py View File

@@ -29,6 +29,7 @@ class Template(object):
''' '''
Print information Print information
''' '''
#print 'Template:', text
pass pass
class TemplateV2(Template): class TemplateV2(Template):


+ 1
- 0
ktt_atgcsv.py View File

@@ -1,5 +1,6 @@
#!/usr/bin/python #!/usr/bin/python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-

''' '''
Generates files from csv table. Generates files from csv table.