<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>9148</bug_id>
          
          <creation_ts>2016-02-21 21:04:22 +0000</creation_ts>
          <short_desc>Cover variable references not being expanded in python functions</short_desc>
          <delta_ts>2016-03-07 06:49:00 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>9</classification_id>
          <classification>Documentation</classification>
          <product>BitBake User Manual</product>
          <component>bitbake-manual</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>3 March 2016: RESOLVED</status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>2.1 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Scott Rifenbark">srifenbark</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>sgw</cc>
    
    <cc>srifenbark</cc>
          
          <qa_contact name="Francisco Pedraza">francisco.j.pedraza.gonzalez</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Done (doc changes complete)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>59317</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2016-02-21 21:04:22 +0000</bug_when>
    <thetext>In &quot;BitBake Style Python Functions&quot;, could you please add a note box with the following content:

Variable expressions e.g. ${X} are no longer expanded within Python functions. This is intentional in order to allow you to freely set variable values to expandable expressions without having them expanded prematurely. If you do wish to expand a variable within a Python function, use d.getVar(&quot;X&quot;, True), or for more complicated expressions use d.expand().</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59393</commentid>
    <comment_count>1</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-02-23 17:23:18 +0000</bug_when>
    <thetext>Paul, 

See http://www.yoctoproject.org/docs/2.1/bitbake-user-manual/bitbake-user-manual.html#bitbake-style-python-functions and let me know if the note is okay.  Pretty much what you suggested.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59690</commentid>
    <comment_count>2</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-03-03 17:24:13 +0000</bug_when>
    <thetext>Paul, 

Check this out when you can... the bug got moved to Medium +.

Thanks, 
Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59691</commentid>
    <comment_count>3</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2016-03-03 17:27:48 +0000</bug_when>
    <thetext>Yep, looks good to me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59692</commentid>
    <comment_count>4</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-03-03 17:29:29 +0000</bug_when>
    <thetext>Thanks for the verification Paul.  Setting status to RESOLVED and moving the doc flag to &quot;done.&quot;

Scott</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>