lib/gitlab_git/blob.rb in gitlab_git-1.4.0 vs lib/gitlab_git/blob.rb in gitlab_git-1.4.1

- old
+ new

@@ -11,10 +11,10 @@ @commit = @repository.commit(sha) @raw_blob = @repository.tree(@commit, path) end def data - if raw_blob + if raw_blob and raw_blob.respond_to?('data') raw_blob.data else nil end end