Merge lp:~timojbo/widelands-website/new-help into lp:widelands-website

Proposed by Timo Paulssen
Status: Merged
Merged at revision: 236
Proposed branch: lp:~timojbo/widelands-website/new-help
Merge into: lp:widelands-website
Diff against target: 32 lines (+6/-6)
1 file modified
online_help/management/commands/update_help.py (+6/-6)
To merge this branch: bzr merge lp:~timojbo/widelands-website/new-help
Reviewer Review Type Date Requested Status
Widelands Developers Pending
Review via email: mp+39789@code.launchpad.net
To post a comment you must log in.
236. By SirVer

One more merge from timo

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'online_help/management/commands/update_help.py'
--- online_help/management/commands/update_help.py 2010-11-01 21:19:16 +0000
+++ online_help/management/commands/update_help.py 2010-11-01 21:49:40 +0000
@@ -116,13 +116,13 @@
116 workero.image_url = nn116 workero.image_url = nn
117117
118 # See if there is help available118 # See if there is help available
119 if worker._conf.has_option("default","help"):119 if worker._conf.has_option("global","help"):
120 helpstr = normalize_name(worker._conf.get("default","help"))120 helpstr = normalize_name(worker._conf.get("global","help"))
121 workero.help = helpstr121 workero.help = helpstr
122122
123 # Check for experience123 # Check for experience
124 if worker._conf.has_option("default","experience"):124 if worker._conf.has_option("global","experience"):
125 experience = normalize_name(worker._conf.get("default","experience"))125 experience = normalize_name(worker._conf.get("global","experience"))
126 workero.exp = experience126 workero.exp = experience
127127
128 # See what the worker becomes128 # See what the worker becomes
@@ -147,8 +147,8 @@
147147
148148
149 # See if there is help available149 # See if there is help available
150 if ware._conf.has_option("default","help"):150 if ware._conf.has_option("global","help"):
151 helpstr = normalize_name(ware._conf.get("default","help"))151 helpstr = normalize_name(ware._conf.get("global","help"))
152 w.help = helpstr152 w.help = helpstr
153153
154 w.save()154 w.save()

Subscribers

People subscribed via source and target branches