Re: [PATCH v3 04/14] pyjailhouse: sysfs_parser: minor stylistic fixups

2019-10-08 Thread Jan Kiszka
On 08.10.19 18:04, Ralf Ramsauer wrote: > > > On 10/8/19 6:01 PM, Jan Kiszka wrote: >> On 08.10.19 17:56, Ralf Ramsauer wrote: > @@ -950,8 +947,8 @@ class IOMemRegionTree: > continue > > # if the tree continues recurse further down ... > -

Re: [PATCH v3 04/14] pyjailhouse: sysfs_parser: minor stylistic fixups

2019-10-08 Thread Ralf Ramsauer
On 10/8/19 6:01 PM, Jan Kiszka wrote: > On 08.10.19 17:56, Ralf Ramsauer wrote: @@ -950,8 +947,8 @@ class IOMemRegionTree: continue # if the tree continues recurse further down ... -if (len(tree.children) > 0): -

Re: [PATCH v3 04/14] pyjailhouse: sysfs_parser: minor stylistic fixups

2019-10-08 Thread Jan Kiszka
On 08.10.19 17:56, Ralf Ramsauer wrote: >>> @@ -950,8 +947,8 @@ class IOMemRegionTree: >>> continue >>> >>> # if the tree continues recurse further down ... >>> -if (len(tree.children) > 0): >>> -(temp_regions, temp_dmar_regions) = \ >>> +

Re: [PATCH v3 04/14] pyjailhouse: sysfs_parser: minor stylistic fixups

2019-10-08 Thread Ralf Ramsauer
On 10/7/19 5:59 PM, Jan Kiszka wrote: > On 30.09.19 21:13, Andrej Utz wrote: >> From: Ralf Ramsauer >> >> The sysfs_parser is written in python and not in C. We can save some >> parentheses. >> >> No functional change. >> >> Signed-off-by: Ralf Ramsauer >> --- >> pyjailhouse/sysfs_parser.py |

Re: [PATCH v3 04/14] pyjailhouse: sysfs_parser: minor stylistic fixups

2019-10-07 Thread Jan Kiszka
On 30.09.19 21:13, Andrej Utz wrote: > From: Ralf Ramsauer > > The sysfs_parser is written in python and not in C. We can save some > parentheses. > > No functional change. > > Signed-off-by: Ralf Ramsauer > --- > pyjailhouse/sysfs_parser.py | 29 + > 1 file change

[PATCH v3 04/14] pyjailhouse: sysfs_parser: minor stylistic fixups

2019-09-30 Thread Andrej Utz
From: Ralf Ramsauer The sysfs_parser is written in python and not in C. We can save some parentheses. No functional change. Signed-off-by: Ralf Ramsauer --- pyjailhouse/sysfs_parser.py | 29 + 1 file changed, 13 insertions(+), 16 deletions(-) diff --git a/pyjailho