<div dir="ltr">I will take care of that.<div><br></div><div>Alexandre Neto</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Mar 5, 2014 at 12:22 PM, jonnyforest <span dir="ltr"><<a href="mailto:joaofrgaspar@gmail.com" target="_blank">joaofrgaspar@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I guys,<br>
<br>
in<br>
<a href="http://qgis.org/en/docs/user_manual/introduction/qgis_configuration.html#project-properties" target="_blank">http://qgis.org/en/docs/user_manual/introduction/qgis_configuration.html#project-properties</a><br>
<<a href="http://qgis.org/en/docs/user_manual/introduction/qgis_configuration.html#project-properties" target="_blank">http://qgis.org/en/docs/user_manual/introduction/qgis_configuration.html#project-properties</a>><br>

<br>
the snapshot of python code have an error the fix is:<br>
<br>
/from qgis.utils import iface<br>
from qgis.gui import QgsMessageBar<br>
<br>
def openProject():<br>
    msgbar = iface.messageBar()<br>
    msgbar.*pushMessage*('WARNING', 'project contains sensitive data',<br>
                       QgsMessageBar.WARNING,10)<br>
<br>
def saveProject():<br>
    pass<br>
<br>
def closeProject():<br>
    pass/<br>
<br>
I put the fix in bold.<br>
<br>
Regards<br>
<br>
<br>
<br>
-----<br>
__________________________________________________________<br>
"A palavra impossível é uma expressão infeliz; nada se pode esperar daqueles que a usam frequentemente" [Carlyle, Thomas]<br>
<br>
Linkedin: <a href="http://pt.linkedin.com/in/joaofiliperodriguesgaspar" target="_blank">http://pt.linkedin.com/in/joaofiliperodriguesgaspar</a><br>
Transifex: <a href="https://www.transifex.com/accounts/profile/jonny_forest/" target="_blank">https://www.transifex.com/accounts/profile/jonny_forest/</a><br>
Github: <a href="https://github.com/jonnyforestGIS" target="_blank">https://github.com/jonnyforestGIS</a><br>
Osgeo Wiki: <a href="http://wiki.osgeo.org/wiki/Jo%C3%A3o_Gaspar" target="_blank">http://wiki.osgeo.org/wiki/Jo%C3%A3o_Gaspar</a><br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/An-error-in-Documentation-Snapshot-of-Macro-Python-tp5107659.html" target="_blank">http://osgeo-org.1560.x6.nabble.com/An-error-in-Documentation-Snapshot-of-Macro-Python-tp5107659.html</a><br>

Sent from the Quantum GIS - Community Team mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Qgis-community-team mailing list for organizing community resources such as documentation, translation etc..<br>
<a href="mailto:Qgis-community-team@lists.osgeo.org">Qgis-community-team@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-community-team" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-community-team</a></blockquote></div><br></div>