src/eric7/SystemUtilities/OSUtilities.py

branch
eric7
changeset 10334
24300d16a154
parent 9653
e67609152c5e
child 10339
446d22fa1aea
equal deleted inserted replaced
10333:4aa8d3b69832 10334:24300d16a154
48 48
49 @return flag indicating Linux platform 49 @return flag indicating Linux platform
50 @rtype bool 50 @rtype bool
51 """ 51 """
52 return sys.platform.startswith("linux") 52 return sys.platform.startswith("linux")
53
54
55 def isBsdPlatform():
56 """
57 Function to check, if this is a BSD (FreeBSD) platform.
58
59 @return flag indicating BSD platform
60 @rtype bool
61 """
62 return sys.platform.startswith("freebsd")
53 63
54 64
55 ############################################################################### 65 ###############################################################################
56 ## functions for user handling 66 ## functions for user handling
57 ############################################################################### 67 ###############################################################################

eric ide

mercurial