gophermap 0.1.0__tar.gz → 0.1.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gophermap
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: A simple library for parsng Gophermaps
5
5
  Keywords: Gopher,Gophermap,Hypertext,library,Markup,parser,Small Web,smolweb
6
6
  Author: Dave Pearson
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "gophermap"
3
- version = "0.1.0"
3
+ version = "0.1.1"
4
4
  description = "A simple library for parsng Gophermaps"
5
5
  readme = "README.md"
6
6
  authors = [
@@ -41,7 +41,8 @@ class GopherMap:
41
41
  for line in map_text.splitlines(keepends=True):
42
42
  if line.strip() == EOF:
43
43
  break
44
- yield GopherItem(line)
44
+ if line.strip():
45
+ yield GopherItem(line)
45
46
 
46
47
  @property
47
48
  def raw(self) -> str:
File without changes