mergejs: Remove white space around filename. No functional change. (closes #2026)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@9170 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Frédéric Junod
2009-04-02 10:35:21 +00:00
parent 4254d1efdf
commit 3c863c8c2f
2 changed files with 3 additions and 3 deletions

View File

@@ -152,7 +152,7 @@ def run (sourceDirectory, outputFilename = None, configFile = None):
## TODO: Do import when we walk the directories above?
for filepath in allFiles:
print "Importing: %s" % filepath
fullpath = os.path.join(sourceDirectory, filepath)
fullpath = os.path.join(sourceDirectory, filepath).strip()
content = open(fullpath, "U").read() # TODO: Ensure end of line @ EOF?
files[filepath] = SourceFile(filepath, content) # TODO: Chop path?
@@ -181,7 +181,7 @@ def run (sourceDirectory, outputFilename = None, configFile = None):
order.append(filepath)
if not files.has_key(filepath):
print "Importing: %s" % filepath
fullpath = os.path.join(sourceDirectory, filepath)
fullpath = os.path.join(sourceDirectory, filepath).strip()
content = open(fullpath, "U").read() # TODO: Ensure end of line @ EOF?
files[filepath] = SourceFile(filepath, content) # TODO: Chop path?