dustinrue/ControlPlane — pull request #238 by VladimirTechMan (2013-04-09 18:00:34+00:00)
Title: Minor improvement to better handle "non-app" bundles in OpenAction

Some applications utilize bundles as "containers" for their document formats. Such custom bundles often don't have info.plist in them. When these "non-app" bundle files are to be opened (as documents) by corresponding apps with OpenAction, their **bundleIdentifier** will be nil (as no info.plist provided). While it cannot crash ControlPlane thanks to the try / catch block around the call of **runningApplicationsWithBundleIdentifier**, that method adds an assert message to logs. Thus an extra "safety" check is added.