Skip to content
This repository has been archived by the owner on May 28, 2019. It is now read-only.

Gn2 fix installation #89

Merged
merged 4 commits into from Sep 30, 2013
Merged

Gn2 fix installation #89

merged 4 commits into from Sep 30, 2013

Conversation

nastasi-oq
Copy link
Member

fix for a missing call to .exists() method and for a wrong management of pseudo-associated lists of file (.xml and .sld are potentially not in the same order).
Related bug LP: #1232405

sld_files = _collect(styles_dir, ext='sld')
for style, sld in zip(styles_files, sld_files):
for style in styles_files:
sld = os.path.splitext(style)[0]+".sld"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fix looks fine. Please add whitespace around the + operator.

@larsbutler
Copy link
Contributor

LGTM

nastasi-oq added a commit that referenced this pull request Sep 30, 2013
Gn2 fix installation (missing .exists() in a check and improved list of .xml/.sld style files).
@nastasi-oq nastasi-oq merged commit 0753877 into geonode2-integration Sep 30, 2013
@daniviga daniviga deleted the gn2-fix-install branch October 22, 2014 12:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants