Skip to content

Commit 0d3d8c5

Browse files
committed
---
yaml --- r: 63782 b: refs/heads/snap-stage3 c: d9fed2b h: refs/heads/master v: v3
1 parent 1cb87cb commit 0d3d8c5

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 2d28d645422c1617be58c8ca7ad9a457264ca850
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 4c86a0431b637edd23b91234765402bb41edcae8
4+
refs/heads/snap-stage3: d9fed2b06f0850fa9e2455e98606644d5d54757f
55
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ endif
139139

140140
# version-string calculation
141141
CFG_GIT_DIR := $(CFG_SRC_DIR).git
142-
CFG_RELEASE = 0.7-pre
142+
CFG_RELEASE = 0.6
143143
CFG_VERSION = $(CFG_RELEASE)
144144

145145
ifneq ($(wildcard $(CFG_GIT)),)

branches/snap-stage3/src/libextra/term.rs

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ impl Terminal {
9797
if s.is_ok() {
9898
self.out.write(s.unwrap());
9999
} else {
100-
warn!(s.unwrap_err());
100+
warn!("%s", s.unwrap_err());
101101
}
102102
}
103103
}
@@ -113,17 +113,20 @@ impl Terminal {
113113
if s.is_ok() {
114114
self.out.write(s.unwrap());
115115
} else {
116-
warn!(s.unwrap_err());
116+
warn!("%s", s.unwrap_err());
117117
}
118118
}
119119
}
120120
pub fn reset(&self) {
121121
let mut vars = Variables::new();
122-
let s = expand(*self.ti.strings.find_equiv(&("op")).unwrap(), [], &mut vars);
122+
let s = do self.ti.strings.find_equiv(&("op"))
123+
.map_consume_default(Err(~"can't find op")) |&op| {
124+
expand(op, [], &mut vars)
125+
};
123126
if s.is_ok() {
124127
self.out.write(s.unwrap());
125128
} else {
126-
warn!(s.unwrap_err());
129+
warn!("%s", s.unwrap_err());
127130
}
128131
}
129132

0 commit comments

Comments
 (0)