We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9aee0f3 + f06f84f commit 6f19472Copy full SHA for 6f19472
git-ftp.py
@@ -73,7 +73,7 @@ class SectionNotFound(Exception):
73
pass
74
75
76
-def split_pattern(path):
+def split_pattern(path): # TODO: Improve skeevy code
77
path = fnmatch.translate(path).split('\\/')
78
for i, p in enumerate(path[:-1]):
79
if p:
@@ -303,7 +303,7 @@ def get_ftp_creds(repo, options):
303
options.ftp.ssl = False
304
305
try:
306
- options.ftp.gitftpignore = cfg.get(options.branch, 'gitftpignore')
+ options.ftp.gitftpignore = cfg.get(options.section, 'gitftpignore')
307
except ConfigParser.NoOptionError:
308
options.ftp.gitftpignore = '.gitftpignore'
309
else:
0 commit comments