5027 lines · 153.6 KB · Python
RawDownload
		print("Too few arguments")		sys.exit(1) 	is_sqlite3 = False	try:		f = open(dbname, "rb")		if f.read(15) == b'SQLite format 3':			is_sqlite3 = True		f.close()	except:		pass 	dbref = DBRef(is_sqlite3, dbname)	db, dbname = dbref.Open("main")	glb = Glb(dbref, db, dbname)	app = QApplication(sys.argv)	glb.app = app	mainwindow = MainWindow(glb)	glb.mainwindow = mainwindow	mainwindow.show()	err = app.exec_()	glb.ShutdownInstances()	db.close()	sys.exit(err) if __name__ == "__main__":	Main()

Lines 5001–5027 of 5027. Previous lines

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t