← Back to team overview

openlp-core team mailing list archive

Re: [Merge] lp:~trb143/openlp/remotes into lp:openlp

 

self.parent.plugin.serviceManager.serviceId or 0

This is the old way of fudging the ternary operator. Rather use the newer inline if:

  self.parent.plugin.serviceManager.serviceId \
      if self.parent.plugin.serviceManager.serviceId else 0
-- 
https://code.launchpad.net/~trb143/openlp/remotes/+merge/102150
Your team OpenLP Core is subscribed to branch lp:openlp.


References