summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Keating <jkeating@redhat.com>2010-08-11 22:43:12 -0700
committerJesse Keating <jkeating@redhat.com>2010-08-11 22:43:12 -0700
commit3b03752c82a2f8f55a8a57a0d19eb5bb49ad76d7 (patch)
tree05471a7839e32ab7f66bcdefb7b85591e3da61a2
parent4cff4294fc270a67ec96f75ec6d3b0b81d139fd8 (diff)
downloadfedora-packager-3b03752c82a2f8f55a8a57a0d19eb5bb49ad76d7.tar.gz
fedora-packager-3b03752c82a2f8f55a8a57a0d19eb5bb49ad76d7.tar.xz
fedora-packager-3b03752c82a2f8f55a8a57a0d19eb5bb49ad76d7.zip
Properly format the gitignore file. Ticket #43
-rw-r--r--src/pyfedpkg/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pyfedpkg/__init__.py b/src/pyfedpkg/__init__.py
index fb78b21..c0a69ef 100644
--- a/src/pyfedpkg/__init__.py
+++ b/src/pyfedpkg/__init__.py
@@ -1350,7 +1350,7 @@ class PackageModule:
sources_file.write("%s %s\n" % (file_hash, file_basename))
# Add this file to .gitignore if it's not already there:
- gitignore.add(file_basename)
+ gitignore.add('/%s' % file_basename)
if lookaside.file_exists(self.module, file_basename, file_hash):
# Already uploaded, skip it: