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 ############################################################################### |