Revision: 161
Author: janne.t.harkonen
Date: Fri Aug 24 05:10:06 2012
Log: core: correct type for client newline
http://code.google.com/p/robotframework-sshlibrary/source/detail?r=161
Modified:
/trunk/src/SSHLibrary/core.py
=======================================
--- /trunk/src/SSHLibrary/core.py Fri Aug 24 05:09:56 2012
+++ /trunk/src/SSHLibrary/core.py Fri Aug 24 05:10:06 2012
@@ -16,7 +16,8 @@
import re
import time
-from config import Configuration, StringEntry, TimeEntry, IntegerEntry
+from config import (Configuration, StringEntry, TimeEntry, IntegerEntry,
+ NewlineEntry)
class ClientConfig(Configuration):
@@ -28,7 +29,7 @@
alias=StringEntry(alias),
port=IntegerEntry(port or 22),
timeout=TimeEntry(timeout or defaults.timeout),
- newline=StringEntry(newline or defaults.newline),
+ newline=NewlineEntry(newline or defaults.newline),
prompt=StringEntry(prompt or defaults.prompt),
term_type=StringEntry(term_type or 'vt100'),
width=IntegerEntry(width or 80),