vincentdephily / emlop

EMerge LOg Parser
GNU General Public License v3.0
38 stars 4 forks source link

`emlop p` gets confused by uninstall/block pretends #7

Closed vincentdephily closed 6 years ago

vincentdephily commented 6 years ago

Given this emerge -p input:

[ebuild     U  ] app-admin/syslog-ng-3.13.2 [3.7.3] USE="-http%" 
[uninstall     ] dev-libs/eventlog-0.2.12 
[blocks b      ] dev-libs/eventlog ("dev-libs/eventlog" is blocking app-admin/syslog-ng-3.13.2)
[ebuild  r  U  ] dev-lang/php-7.1.13 [7.1.11]

emlop p outputs:

app-admin/syslog-ng                                                          4:05
dev-libs/eventlog                                                              22
dev-libs/eventlog ("dev-libs/eventlog" is blocking app-admin/syslog-ng  
dev-lang/php                                                                20:41

Expected:

app-admin/syslog-ng                                                          4:05
dev-lang/php                                                                20:41