def openProject(self, projectPath):
        if self.webView:
            defaults = NSUserDefaults.standardUserDefaults()
            defaults.setObject_forKey_(projectPath, "devon.LastProject")

            url = (devonURL, projectPath.replace("/", ":")) % "%s/%s/"
            request = NSURLRequest.requestWithURL_(NSURL.URLWithString_(url))
            self.webView.mainFrame().loadRequest_(request)
        else:
            self.initialProjectPath = projectPath
dataset/ETHPy150Open joehewitt/devon/app/mac/Devon.py/AppDelegate.openProject/swapped operands of `%`