Private GIT
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Sick-Beard
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vlbox
Sick-Beard
Commits
ae9ce4de
Commit
ae9ce4de
authored
Feb 26, 2012
by
Nic Wolfe
Browse files
Options
Downloads
Patches
Plain Diff
Fixed some warnings
parent
bd20f05b
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
sickbeard/notifiers/nma.py
+0
-3
0 additions, 3 deletions
sickbeard/notifiers/nma.py
sickbeard/providers/btn.py
+1
-4
1 addition, 4 deletions
sickbeard/providers/btn.py
with
1 addition
and
7 deletions
sickbeard/notifiers/nma.py
+
0
−
3
View file @
ae9ce4de
from
httplib
import
HTTPSConnection
from
urllib
import
urlencode
import
sickbeard
import
sickbeard
from
sickbeard
import
logger
,
common
from
sickbeard
import
logger
,
common
...
...
This diff is collapsed.
Click to expand it.
sickbeard/providers/btn.py
+
1
−
4
View file @
ae9ce4de
...
@@ -16,8 +16,6 @@
...
@@ -16,8 +16,6 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Sick Beard. If not, see <http://www.gnu.org/licenses/>.
# along with Sick Beard. If not, see <http://www.gnu.org/licenses/>.
import
xml.etree.cElementTree
as
etree
import
sickbeard
import
sickbeard
import
generic
import
generic
...
@@ -61,8 +59,7 @@ class BTNCache(tvcache.TVCache):
...
@@ -61,8 +59,7 @@ class BTNCache(tvcache.TVCache):
def
_parseItem
(
self
,
item
):
def
_parseItem
(
self
,
item
):
title
=
item
.
findtext
(
'
title
'
)
(
title
,
url
)
=
self
.
provider
.
_get_title_and_url
(
item
)
url
=
item
.
findtext
(
'
link
'
)
if
not
title
or
not
url
:
if
not
title
or
not
url
:
logger
.
log
(
u
"
The XML returned from the BTN RSS feed is incomplete, this result is unusable
"
,
logger
.
ERROR
)
logger
.
log
(
u
"
The XML returned from the BTN RSS feed is incomplete, this result is unusable
"
,
logger
.
ERROR
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment