OmPs wrote:
> On 10 Feb 2015 13:59, "OmPs" wrote:
>> Tried that as well getting the same error.
>
> I feel its something to do with variable substitution.
Python doesn't do variable substitution. At least not the way I think of it.
What do you mean by "variable substitution"?
Instead of "feel
On 02/10/2015 01:24 PM, Denis McMahon wrote:
On Tue, 10 Feb 2015 18:39:42 +1100, Chris Angelico wrote:
On Tue, Feb 10, 2015 at 6:30 PM, OmPs wrote:
def _getPackgeVersion(xmlfile, p):
package = str(p)
if isinstance(fpmdict["application"]["package"], list):
f
On Tue, 10 Feb 2015 18:39:42 +1100, Chris Angelico wrote:
> On Tue, Feb 10, 2015 at 6:30 PM, OmPs wrote:
>> def _getPackgeVersion(xmlfile, p):
>> package = str(p)
>> if isinstance(fpmdict["application"]["package"], list):
>> for i in fpmdict["application"]["package
On 02/10/2015 03:29 AM, OmPs wrote:
On 10 Feb 2015 13:12, "Chris Angelico" wrote:
On Tue, Feb 10, 2015 at 6:30 PM, OmPs wrote:
def _getPackgeVersion(xmlfile, p):
package = str(p)
if isinstance(fpmdict["application"]["package"], list):
for i in fpmdict["app
On 10 Feb 2015 13:59, "OmPs" wrote:
>
>
> On 10 Feb 2015 13:12, "Chris Angelico" wrote:
> >
> > On Tue, Feb 10, 2015 at 6:30 PM, OmPs wrote:
> > > def _getPackgeVersion(xmlfile, p):
> > > package = str(p)
> > > if isinstance(fpmdict["application"]["package"], list):
> > >
On 10 Feb 2015 13:12, "Chris Angelico" wrote:
>
> On Tue, Feb 10, 2015 at 6:30 PM, OmPs wrote:
> > def _getPackgeVersion(xmlfile, p):
> > package = str(p)
> > if isinstance(fpmdict["application"]["package"], list):
> > for i in fpmdict["application"]["package"]:
>
On Tue, Feb 10, 2015 at 6:30 PM, OmPs wrote:
> def _getPackgeVersion(xmlfile, p):
> package = str(p)
> if isinstance(fpmdict["application"]["package"], list):
> for i in fpmdict["application"]["package"]:
> if i["@name"] == p:
> _
In an XML file which contain a tag and then these tags contain properties,
which later are being called in anoter tag where these properties are
expanded as variables.
For eg.
1.0
1.2
Red Hat Enterprise Linux Serv