Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3944463
D2076.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
498 B
Referenced Files
None
Subscribers
None
D2076.diff
View Options
diff --git a/roles/devserver/userland-software/files/shell.py b/roles/devserver/userland-software/files/shell.py
--- a/roles/devserver/userland-software/files/shell.py
+++ b/roles/devserver/userland-software/files/shell.py
@@ -61,7 +61,7 @@
def parse_configuration_file(filename):
configuration_file = open(filename, 'r')
- configuration = yaml.load(configuration_file)
+ configuration = yaml.safe_load(configuration_file)
configuration_file.close()
return configuration
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 26, 20:10 (11 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2316071
Default Alt Text
D2076.diff (498 B)
Attached To
Mode
D2076: Load YAML safely
Attached
Detach File
Event Timeline
Log In to Comment