Tue, 30 Mar 2010 17:17:15 +0000
Added code to remember the 20 most recently connected hosts.
# -*- coding: utf-8 -*- # Copyright (c) 2006 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> # """ Module defining common data to be used by all modules. """ import sys # names of the various settings objects settingsNameOrganization = "Eric5" settingsNameGlobal = "eric5" settingsNameRecent = "eric5recent" # key names of the various recent entries recentNameMultiProject = "MultiProjects" recentNameProject = "Projects" recentNameFiles = "Files" recentNameHosts = "Hosts" def isWindowsPlatform(): """ Function to check, if this is a Windows platform. @return flag indicating Windows platform (boolean) """ return sys.platform.startswith("win")