hash
stringlengths
40
40
diff
stringlengths
131
26.7k
message
stringlengths
7
694
project
stringlengths
5
67
split
stringclasses
1 value
diff_languages
stringlengths
2
24
11ac5b6deee2ef99b845813a543a4f7305ba8c94
diff --git a/dev/tests.py b/dev/tests.py index <HASH>..<HASH> 100644 --- a/dev/tests.py +++ b/dev/tests.py @@ -22,23 +22,31 @@ test_classes = [KDFTests, KeyTests, PublicKeyTests, SymmetricTests, TrustListTes def run(matcher=None, repeat=1): - suite = unittest.TestSuite() loader = unittest.TestLoader() + ...
Fix a bug with Python <I> on Windows resetting test suites after running
wbond_oscrypto
train
py
1b8926235e325a8d357073c226f8daa3e29ba232
diff --git a/src/main/java/org/filteredpush/qc/date/DwCEventDQDefaults.java b/src/main/java/org/filteredpush/qc/date/DwCEventDQDefaults.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/filteredpush/qc/date/DwCEventDQDefaults.java +++ b/src/main/java/org/filteredpush/qc/date/DwCEventDQDefaults.java @@ -23,6 +23,...
Adding missing mechanism annotation to class.
FilteredPush_event_date_qc
train
java
e847243a75f2d2b79a009d277110bbde69a123fc
diff --git a/lib/codecept.js b/lib/codecept.js index <HASH>..<HASH> 100644 --- a/lib/codecept.js +++ b/lib/codecept.js @@ -155,7 +155,9 @@ class Codecept { const mocha = container.mocha(); mocha.files = this.testFiles; if (test) { - test = fsPath.join(global.codecept_dir, test); + if (!fsPath.i...
fix absolute path support (#<I>)
Codeception_CodeceptJS
train
js
e98b8e08575d28e4cc15fbd64111c42b86841e4c
diff --git a/pkg/streamformatter/streamformatter.go b/pkg/streamformatter/streamformatter.go index <HASH>..<HASH> 100644 --- a/pkg/streamformatter/streamformatter.go +++ b/pkg/streamformatter/streamformatter.go @@ -83,7 +83,7 @@ func (sf *StreamFormatter) FormatProgress(id, action string, progress *jsonmessa if err ...
Add newlines to FormatProgress for JSON as well Commit <I>da<I>d<I>dfeee4fe<I>ce6b<I>a6cb<I>e<I>dbe has introduced newlines to streamformatter to help parse Remote API responses. However, FormatProgress method was omitted from the list of patched methods, leaving progress messages in, say, /images/create without newli...
moby_moby
train
go
e061c880d1f86659f864b665efb092e816c5d171
diff --git a/pyshop/views/simple.py b/pyshop/views/simple.py index <HASH>..<HASH> 100644 --- a/pyshop/views/simple.py +++ b/pyshop/views/simple.py @@ -210,7 +210,9 @@ class Show(View): else: if pkg.update_at: td = datetime.now() - pkg.update_at - ref...
Change TTL for package refresh to 1 day
mardiros_pyshop
train
py
ee2ca1a789f57d3b73e6ca9fecc1235ce7b4db91
diff --git a/gwpy/timeseries/common.py b/gwpy/timeseries/common.py index <HASH>..<HASH> 100644 --- a/gwpy/timeseries/common.py +++ b/gwpy/timeseries/common.py @@ -136,9 +136,9 @@ def append(self, other, gap='raise', inplace=True, pad=0.0, resize=True): new[-N:] = other[-N:] try: if isinstance(self, S...
timeseries.common.append: minor change to syntax
gwpy_gwpy
train
py
07c7b61b29565f36dcd5888b29faed881a22e5c8
diff --git a/src/main/java/com/codeborne/selenide/SelenideDriver.java b/src/main/java/com/codeborne/selenide/SelenideDriver.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/codeborne/selenide/SelenideDriver.java +++ b/src/main/java/com/codeborne/selenide/SelenideDriver.java @@ -301,6 +301,12 @@ public class Sel...
Add missing findAll with CSS selector to SelenideDriver
selenide_selenide
train
java
b37e8554aa65c2c9f3ac03071b0399af1aeba05d
diff --git a/src/PHPoole.php b/src/PHPoole.php index <HASH>..<HASH> 100644 --- a/src/PHPoole.php +++ b/src/PHPoole.php @@ -25,8 +25,21 @@ class PHPoole const VERSION = '1.1.x-dev'; protected $version; /** + * Steps that are processed by build() * + * @var array + * + * @see build() ...
Move build steps in a dedicated array.
Cecilapp_PHPoole
train
php
9e9908108e39eda4c37760fc5ad67b1752467cb6
diff --git a/lib/andromeda/kit.rb b/lib/andromeda/kit.rb index <HASH>..<HASH> 100644 --- a/lib/andromeda/kit.rb +++ b/lib/andromeda/kit.rb @@ -21,7 +21,7 @@ module Andromeda class Tee < Plan attr_accessor :level - attr_accessor :other + attr_spot :other attr_accessor :delay def i...
Renames ScopeWaiter to Bracket and changes behavior of >>
moviepilot_andromeda
train
rb,rb
98aff03595130eea9b4e37e2de65515156b19bad
diff --git a/lib/jekyll/related_posts.rb b/lib/jekyll/related_posts.rb index <HASH>..<HASH> 100644 --- a/lib/jekyll/related_posts.rb +++ b/lib/jekyll/related_posts.rb @@ -28,13 +28,13 @@ module Jekyll def build_index self.class.lsi ||= begin lsi = Classifier::LSI.new(:auto_rebuild => false) - ...
Use Jekyll::Stevenson#formatted_topic for printing messages Beats trying to line them up yourself. :-)
jekyll_jekyll
train
rb
9685a4c877b59250fbeb1b7deedd126b5b86a37b
diff --git a/selendroid-server/src/main/java/io/selendroid/server/model/SelendroidDriver.java b/selendroid-server/src/main/java/io/selendroid/server/model/SelendroidDriver.java index <HASH>..<HASH> 100644 --- a/selendroid-server/src/main/java/io/selendroid/server/model/SelendroidDriver.java +++ b/selendroid-server/src/...
Clean up imports. No logical change.
selendroid_selendroid
train
java
a60c2bbadb11e4fb4182554679282df41b99c3e4
diff --git a/organizations/__init__.py b/organizations/__init__.py index <HASH>..<HASH> 100644 --- a/organizations/__init__.py +++ b/organizations/__init__.py @@ -1,4 +1,4 @@ """ edx-organizations app initialization module """ -__version__ = '0.4.1' # pragma: no cover +__version__ = '0.4.2' # pragma: no cover
Updated to version <I> ECOM-<I>
edx_edx-organizations
train
py
e1e47cddd64e904606c6d239d1d3e1d647f23df6
diff --git a/src/selector/selector.js b/src/selector/selector.js index <HASH>..<HASH> 100644 --- a/src/selector/selector.js +++ b/src/selector/selector.js @@ -59,7 +59,7 @@ jQuery.extend({ _resort: function(m){ return ["", m[1], m[3], m[2], m[5]]; }, - _prefix: "z=jQuery.attr(a,m[3]);" + _prefix: "z=a[...
Added support for [@foo] against DOM object properties (not just attributes).
jquery_jquery
train
js
67af602b183b1e8edc36bad9f71cd0ebaf372168
diff --git a/src/UI/Output.php b/src/UI/Output.php index <HASH>..<HASH> 100644 --- a/src/UI/Output.php +++ b/src/UI/Output.php @@ -732,7 +732,6 @@ $('a').each(function (x) { if ( $CFG->DEVELOPER || U::get($_COOKIE, 'adminmenu') ) { $submenu->addLink('Admin', $R.'admin'); } - ...
Update the dev links from default menu
tsugiproject_tsugi-php
train
php
06e975a4e8064f7ce887b5e22d6a533fbd6f702e
diff --git a/odoorpc/rpc/jsonrpclib.py b/odoorpc/rpc/jsonrpclib.py index <HASH>..<HASH> 100644 --- a/odoorpc/rpc/jsonrpclib.py +++ b/odoorpc/rpc/jsonrpclib.py @@ -99,6 +99,8 @@ class ProxyHTTP(Proxy): to all HTTP methods. """ def __call__(self, url, data=None, headers=None): + if url.startswith('/...
[FIX] Ability to make HTTP requests with or without a leading slash in the URL (similar to JSON requests)
OCA_odoorpc
train
py
48471d0fbcc2dfd8bde0d2cf8663d6587942e867
diff --git a/project/library/CM/VideoStreamDelegate.php b/project/library/CM/VideoStreamDelegate.php index <HASH>..<HASH> 100644 --- a/project/library/CM/VideoStreamDelegate.php +++ b/project/library/CM/VideoStreamDelegate.php @@ -3,17 +3,17 @@ interface CM_VideoStreamDelegate { /** * @param CM_VideoStream_Publis...
t<I>: changed $data array to CM_Params $params
cargomedia_cm
train
php
a879b2761becf19f218b5dfcb0cb456804058466
diff --git a/rollup.config.js b/rollup.config.js index <HASH>..<HASH> 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -15,9 +15,11 @@ const commitHash = (function () { } })(); +const now = new Date(process.env.SOURCE_DATE_EPOCH ? (process.env.SOURCE_DATE_EPOCH * 1000) : new Date().getTime()).getTime(); + ...
Mkae the build reproducible Whilst working on the Reproducible Builds effort [0], we noticed that node-rollup could not be built reproducibly as it encodes the current build time via "new Date()". This was originally filed in Debian as #<I>. [0] <URL>
rollup_rollup
train
js
ea44503791d890dd67bef2f74c2c2288988fb732
diff --git a/pango/pango-attributes.go b/pango/pango-attributes.go index <HASH>..<HASH> 100644 --- a/pango/pango-attributes.go +++ b/pango/pango-attributes.go @@ -106,6 +106,14 @@ func (v *AttrList) native() *C.PangoAttrList { return C.toPangoAttrList(unsafe.Pointer(v.internal)) } +func wrapAttrList(c *C.PangoAttr...
Add a helper that can be used to wrap a native pango attribute list
gotk3_gotk3
train
go
47d8ae5fae7bb2bdbb24bec9341614926acff566
diff --git a/yowsup/layers/__init__.py b/yowsup/layers/__init__.py index <HASH>..<HASH> 100644 --- a/yowsup/layers/__init__.py +++ b/yowsup/layers/__init__.py @@ -32,7 +32,6 @@ class YowLayer(object): # self.setLayers(upperLayer, lowerLayer) def __init__(self): - super(YowLayer, self).__init__() ...
Update __init__.py Vain parent calling was removed
tgalal_yowsup
train
py
798713b305f32ebf821bf9f4d7ce63e0f0e3ffef
diff --git a/src/test/java/com/vdurmont/emoji/EmojiParserTest.java b/src/test/java/com/vdurmont/emoji/EmojiParserTest.java index <HASH>..<HASH> 100644 --- a/src/test/java/com/vdurmont/emoji/EmojiParserTest.java +++ b/src/test/java/com/vdurmont/emoji/EmojiParserTest.java @@ -548,4 +548,16 @@ public class EmojiParserTest...
Fix #<I> Adding a test to make sure the issue is fixed.
vdurmont_emoji-java
train
java
16a326a2d1e1f3ab3dcb83c06804a0bb9bfc16dd
diff --git a/lib/core.js b/lib/core.js index <HASH>..<HASH> 100644 --- a/lib/core.js +++ b/lib/core.js @@ -289,7 +289,6 @@ module.exports = (function() { else if(type.function_pointer && strtype != '@?') return createUnwrapperFunction(val, type); else if (strtype == '@' || strtype == '#') { - asse...
Fixed instanceof buffer for node <I>
TooTallNate_NodObjC
train
js
1d2861be006871e57ba9eab6ed96cf3245667ca9
diff --git a/Eloquent/Relations/BelongsTo.php b/Eloquent/Relations/BelongsTo.php index <HASH>..<HASH> 100755 --- a/Eloquent/Relations/BelongsTo.php +++ b/Eloquent/Relations/BelongsTo.php @@ -279,7 +279,7 @@ class BelongsTo extends Relation */ protected function relationHasIncrementingId() { - ...
Apply fixes from StyleCI (#<I>)
illuminate_database
train
php
524c94becc7f932c4df1446902f1c60d4943d7ff
diff --git a/js/dx.js b/js/dx.js index <HASH>..<HASH> 100644 --- a/js/dx.js +++ b/js/dx.js @@ -4,6 +4,7 @@ const Exchange = require ('./base/Exchange'); const { ExchangeError, BadRequest, AuthenticationError, InvalidOrder, InsufficientFunds, RequestTimeout } = require ('./base/errors'); +const { ROUND, DECIMAL_PLAC...
dx.exchange: fix bug with scientific representation in numberToObject
ccxt_ccxt
train
js
081f1ba2dc5322c2e72d7880756ccda3f3c35499
diff --git a/lib/HTTPRequest.php b/lib/HTTPRequest.php index <HASH>..<HASH> 100755 --- a/lib/HTTPRequest.php +++ b/lib/HTTPRequest.php @@ -113,6 +113,7 @@ class HTTPRequest extends Request { if ($this->conn->sendfileCap) { $req->ensureSentHeaders(); $req->conn->onWriteOnce(function($conn) use ($req, $path, $...
Transition to Libevent <I> (pecl-event)
kakserpom_phpdaemon
train
php
4dd3094035bd47b71a78b993792411444bc486d1
diff --git a/pkg/registry/minion/healthy_registry.go b/pkg/registry/minion/healthy_registry.go index <HASH>..<HASH> 100644 --- a/pkg/registry/minion/healthy_registry.go +++ b/pkg/registry/minion/healthy_registry.go @@ -75,7 +75,7 @@ func (r *HealthyRegistry) ListMinions(ctx api.Context) (currentMinions *api.Mini for ...
Fix mismatched arg and formatter in Errorf
kubernetes_kubernetes
train
go
0f7bc199a3c3e4c09071ca359c5196b2c8f0b831
diff --git a/lib/deliver/itunes_connect.rb b/lib/deliver/itunes_connect.rb index <HASH>..<HASH> 100644 --- a/lib/deliver/itunes_connect.rb +++ b/lib/deliver/itunes_connect.rb @@ -93,7 +93,7 @@ module Deliver wait_for_elements(".enabled").first.click wait_for_elements('.ng-scope.managedWidth') ...
Fixed not raising correct exception when login failed on iTC
fastlane_fastlane
train
rb
c47391e6e2840475237bba263754459dce7a8ab4
diff --git a/meshio/_flac3d.py b/meshio/_flac3d.py index <HASH>..<HASH> 100644 --- a/meshio/_flac3d.py +++ b/meshio/_flac3d.py @@ -83,12 +83,15 @@ def read_buffer(f): zgroups = {} count = {k: 0 for k in meshio_to_flac3d_type.keys()} + index = 0 line = f.readline() while line: if line.s...
update point_ids in read_buffer
nschloe_meshio
train
py
ee9203f35811896cfdbfd2d63057a775590c5dcb
diff --git a/pkgreflect.go b/pkgreflect.go index <HASH>..<HASH> 100644 --- a/pkgreflect.go +++ b/pkgreflect.go @@ -87,7 +87,7 @@ func parseDir(dir string) { for _, pkg := range pkgs { var buf bytes.Buffer - fmt.Fprintln(&buf, "// Code generated by github.com/ungerik/pkgreflect DO NOT EDIT.") + fmt.Fprintln(&bu...
New line added after the first generated line
ungerik_pkgreflect
train
go
5429c1c6623bc16ecf06c3c52abd69ce7d352927
diff --git a/src/Argument.php b/src/Argument.php index <HASH>..<HASH> 100644 --- a/src/Argument.php +++ b/src/Argument.php @@ -43,7 +43,7 @@ final class Argument } $this->index = $interface . '-' . $name; $this->reflection = $parameter; - $this->meta = sprintf("required by %s with name...
Better wording for the new exception chaining formatting
ray-di_Ray.Di
train
php
4f057b4a79e9ada804eb571e312d647ef25e636c
diff --git a/request.js b/request.js index <HASH>..<HASH> 100644 --- a/request.js +++ b/request.js @@ -254,6 +254,7 @@ TChannelRequest.prototype.shouldRetry = function shouldRetry(err, res, arg2, arg return !!self.options.retryFlags.onTimeout; case 'tchannel.socket': + case 't...
TChannelRequest: add missing socket error type
uber_tchannel-node
train
js
223924bf1876d3f17360507f6f76435b7f949b93
diff --git a/lib/lolize.rb b/lib/lolize.rb index <HASH>..<HASH> 100644 --- a/lib/lolize.rb +++ b/lib/lolize.rb @@ -10,7 +10,7 @@ module Lolize :spread => 8.0, :freq => 0.3 } - Lol.println(s, {}, @opts) + Lol.println(s.dup, {}, @opts) end def self.raw_write(s) $stdout.raw_write(s) @@ ...
stdout stub works
miaout17_lolize
train
rb
98e26e4c439303303cead0b30c79ca493e0af05a
diff --git a/src/components/ResultViewer.js b/src/components/ResultViewer.js index <HASH>..<HASH> 100644 --- a/src/components/ResultViewer.js +++ b/src/components/ResultViewer.js @@ -32,6 +32,7 @@ export class ResultViewer extends React.Component { componentDidMount() { this.viewer = CodeMirror(ReactDOM.findD...
Wrap the result lines for a better readability
graphql_graphiql
train
js
0aa4ba4d443e8a9081453434d606f66bd0e73336
diff --git a/sdk/python/python.go b/sdk/python/python.go index <HASH>..<HASH> 100644 --- a/sdk/python/python.go +++ b/sdk/python/python.go @@ -52,11 +52,17 @@ func Command(arg ...string) (*exec.Cmd, error) { } } if err != nil { - return nil, fmt.Errorf( - "Failed to locate any of %q on your PATH. Have you in...
Check for python among execution aliases on Windows
pulumi_pulumi
train
go
142b7ecd558bb7cb92e29907c7b4a63a9439ced3
diff --git a/gitpress/command.py b/gitpress/command.py index <HASH>..<HASH> 100644 --- a/gitpress/command.py +++ b/gitpress/command.py @@ -26,15 +26,15 @@ from .building import build from . import __version__ -def main(args=None): +def main(argv=None): """The entry point of the application.""" - if args is...
Rename 'args' to 'argv' .
joeyespo_gitpress
train
py
d0d5b0c18a795d822f4faae0b2c6cf1c41918ff8
diff --git a/lib/xrds.js b/lib/xrds.js index <HASH>..<HASH> 100644 --- a/lib/xrds.js +++ b/lib/xrds.js @@ -29,7 +29,7 @@ exports.parse = function(data) { data = data.replace(/\r|\n/g, ''); - services = []; + var services = []; var serviceMatches = data.match(/<Service\s*(priority="\d+")?\s*?>(.*?)<\/Service>...
Update lib/xrds.js fixed issue #<I>
havard_node-openid
train
js
61fc8d3754a8f7de39ccc91e77204ff88b2c8401
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index <HASH>..<HASH> 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,3 +1,5 @@ +ENV["RAILS_ENV"]="test" + dir = File.dirname(__FILE__) $LOAD_PATH.unshift dir + "/../lib" $LOAD_PATH.unshift dir @@ -39,7 +41,7 @@ RSpec.configure do |config| R...
Issue #<I>: Fixing specs in dev environment
orslumen_record-cache
train
rb
cc78e847b635bbb955cb7ba55917ffc41c53f556
diff --git a/examples/functions.py b/examples/functions.py index <HASH>..<HASH> 100644 --- a/examples/functions.py +++ b/examples/functions.py @@ -64,7 +64,9 @@ async def run(): print(await Event.all().annotate(tournament_test_id=Sum("tournament__id")).first()) - print(await Tournament.annotate(clean_descip...
Fix wrong usage of Coalesce in example
tortoise_tortoise-orm
train
py
170c55a67d8e20568eb36d9f0bbe9eb204500ef3
diff --git a/lib/typogrowth.rb b/lib/typogrowth.rb index <HASH>..<HASH> 100644 --- a/lib/typogrowth.rb +++ b/lib/typogrowth.rb @@ -128,7 +128,7 @@ module Typogrowth end def defuse str, elements, shadows: [] - delims = Parser.safe_delimiters str + delims = str.safe_delimiters s = str.dup ...
safe_delimiters is now moved to String.
mudasobwa_typogrowth
train
rb
8fcf47040cb367e28e0dab75763435f9fa5238ab
diff --git a/bosh-stemcell/spec/stemcells/centos_spec.rb b/bosh-stemcell/spec/stemcells/centos_spec.rb index <HASH>..<HASH> 100644 --- a/bosh-stemcell/spec/stemcells/centos_spec.rb +++ b/bosh-stemcell/spec/stemcells/centos_spec.rb @@ -106,11 +106,10 @@ describe 'CentOs Stemcell' do it { should be_file } i...
Drop version information from grub.conf server spec
cloudfoundry_bosh
train
rb
8d52b3836dd73b0a991a4c48f648eb8bb094d4f3
diff --git a/test/youtube-dl/options_test.rb b/test/youtube-dl/options_test.rb index <HASH>..<HASH> 100644 --- a/test/youtube-dl/options_test.rb +++ b/test/youtube-dl/options_test.rb @@ -28,7 +28,7 @@ describe YoutubeDL::Options do assert @options[:mtn] == :dew end - it 'should be able to use a configuration...
Added tests for explicit and implicit config blocks.
layer8x_youtube-dl.rb
train
rb
f966f0e99733da6afc794702d0b40f08b60fc8dc
diff --git a/lib/capybara/poltergeist/driver.rb b/lib/capybara/poltergeist/driver.rb index <HASH>..<HASH> 100644 --- a/lib/capybara/poltergeist/driver.rb +++ b/lib/capybara/poltergeist/driver.rb @@ -22,8 +22,8 @@ module Capybara::Poltergeist def browser @browser ||= begin browser = Browser.new(serv...
Don't set js errors unless needed true is the default, so we don't need to set it unless the user has specified the js_errors option.
teampoltergeist_poltergeist
train
rb
596cf4ffaf662dd7971eed508aee1274dc271fd3
diff --git a/lxd/containers.go b/lxd/containers.go index <HASH>..<HASH> 100644 --- a/lxd/containers.go +++ b/lxd/containers.go @@ -263,7 +263,7 @@ type fileServe struct { req *http.Request path string fi os.FileInfo - content io.ReadSeeker + content *os.File } func (r *fileServe) Render(w http.Res...
Don't close the file too early when serving it
lxc_lxd
train
go
58284464a559fdb46239be0810764d95b577d68a
diff --git a/pygam/__init__.py b/pygam/__init__.py index <HASH>..<HASH> 100644 --- a/pygam/__init__.py +++ b/pygam/__init__.py @@ -14,4 +14,4 @@ from pygam.pygam import InvGaussGAM __all__ = ['GAM', 'LinearGAM', 'LogisticGAM', 'GammaGAM', 'PoissonGAM', 'InvGaussGAM'] -__version__ = '0.2.13' +__version__ ...
better way of checking dtypes
dswah_pyGAM
train
py,py
c3a481fcc15c72133a8394366cb52c4ea8271354
diff --git a/Sniffs/WhiteSpace/ControlStructureSpacingSniff.php b/Sniffs/WhiteSpace/ControlStructureSpacingSniff.php index <HASH>..<HASH> 100644 --- a/Sniffs/WhiteSpace/ControlStructureSpacingSniff.php +++ b/Sniffs/WhiteSpace/ControlStructureSpacingSniff.php @@ -191,8 +191,8 @@ class ONGR_Sniffs_WhiteSpace_ControlStruc...
Do not require blank line after controll structure
ongr-archive_ongr-strict-standard
train
php
4fd7f3d6dfa1ac74c635cc9362fc40e9d5c1566c
diff --git a/src/Flare/Traits/ModelAdmin/ModelQuerying.php b/src/Flare/Traits/ModelAdmin/ModelQuerying.php index <HASH>..<HASH> 100644 --- a/src/Flare/Traits/ModelAdmin/ModelQuerying.php +++ b/src/Flare/Traits/ModelAdmin/ModelQuerying.php @@ -96,7 +96,7 @@ trait ModelQuerying * * @return string */ - ...
sortBy and orderBy should be public methods
laravelflare_flare
train
php
8d21142a4dae4e7146771f2e59424b4f8663d039
diff --git a/salt/modules/npm.py b/salt/modules/npm.py index <HASH>..<HASH> 100644 --- a/salt/modules/npm.py +++ b/salt/modules/npm.py @@ -84,15 +84,9 @@ def install(pkg=None, lines = result['stdout'].splitlines() - while ' -> ' in lines[0]: - lines = lines[1:] - # Strip all lines until JSON out...
bugfix: NPM may return JSON arrays which were not supported by the NPM module and the NPM state.
saltstack_salt
train
py,py
f31365014406b0ec79a42f7e2c196a7dd70ddb38
diff --git a/lib/Session.php b/lib/Session.php index <HASH>..<HASH> 100644 --- a/lib/Session.php +++ b/lib/Session.php @@ -33,6 +33,7 @@ class Session implements \ArrayAccess { public function __construct(Request $request) { $this->request = $request; $config = $request->getLocalVar("aerys.sessi...
Assert that middleware had been loaded
amphp_http-server-session
train
php
d0909bfe93f9af04b09dfd5bb2dde79b00351102
diff --git a/tst.py b/tst.py index <HASH>..<HASH> 100755 --- a/tst.py +++ b/tst.py @@ -1111,6 +1111,28 @@ class TestCase(unittest.TestCase): self.assertEqual(cls1, cls) self.assertEqual(asdict(cls1(1)), {'x': 1, 'y': 5}) + def test_init_in_order(self): + @dataclass + class C: + ...
Test init order (#<I>) * Adds test for hash for fields. * Adds unit test for attribute initialization order.
ericvsmith_dataclasses
train
py
d00c036246bcf3fd6838d223d32853a3da50c532
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages setup( name="OLCTools", - version="0.9.0", + version="0.9.1", packages=find_packages(), include_package_data=True, author="Andrew Low", diff...
Adding more generic wildcard to mobrecon plasmid-borne analyses
lowandrew_OLCTools
train
py,py
4d8d4e4e54c181ab6aee4f2e01e8fbfbe2e80475
diff --git a/lib/private/Utils.js b/lib/private/Utils.js index <HASH>..<HASH> 100644 --- a/lib/private/Utils.js +++ b/lib/private/Utils.js @@ -81,10 +81,6 @@ class Ordinal { throw new TypeError(ordinalData); } - if (!(this instanceof Ordinal)) { - return new Ordinal(ordinalData...
remove meaningless code. Class syntax forces 'new'
daikiueda_xlsx2json
train
js
86a66cd71552f771e54b0f52730e087a4c4ae089
diff --git a/lib/codemirror.js b/lib/codemirror.js index <HASH>..<HASH> 100644 --- a/lib/codemirror.js +++ b/lib/codemirror.js @@ -1303,8 +1303,6 @@ var CodeMirror = (function() { return line; } function setLineClass(handle, className) { - if (typeof handle != "number" && handle.parent == null) - ...
Remove debug statement that got left behind
codemirror_CodeMirror
train
js
c0fa4de65b32fc5e8251dafab1330f044d682a1e
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb index <HASH>..<HASH> 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb +++ b/activerecord/lib/activ...
Allow :name to be a Symbol (was this removed by accident?)
rails_rails
train
rb
9b48f35bf2dc1190b9e7e0546d7c7735d194a3e1
diff --git a/lib/application.js b/lib/application.js index <HASH>..<HASH> 100644 --- a/lib/application.js +++ b/lib/application.js @@ -148,7 +148,7 @@ Application.prototype.handle = function (req, cb) { Application.prototype.createContext = function (req, ctx) { var context = Object.create(this.context); if ...
add `req` to context for convenience
taoyuan_sira
train
js
34cb1a409ef169167536bef199a2a95d2642ab19
diff --git a/src/js/pannellum.js b/src/js/pannellum.js index <HASH>..<HASH> 100644 --- a/src/js/pannellum.js +++ b/src/js/pannellum.js @@ -1785,7 +1785,7 @@ function destroyHotSpots() { for (var i = 0; i < hs.length; i++) { var current = hs[i].div; if (current) { - whil...
Another check to make sure hot spot div exists before deleting it (#<I>).
mpetroff_pannellum
train
js
407fdc503ebe2f911521b1b5f0198555a4f837f6
diff --git a/js/jquery.fileupload-ui.js b/js/jquery.fileupload-ui.js index <HASH>..<HASH> 100644 --- a/js/jquery.fileupload-ui.js +++ b/js/jquery.fileupload-ui.js @@ -1,5 +1,5 @@ /* - * jQuery File Upload User Interface Plugin 7.4.2 + * jQuery File Upload User Interface Plugin 7.4.3 * https://github.com/blueimp/jQue...
Accept empty responses (no JSON) for DELETE requests.
blueimp_jQuery-File-Upload
train
js
19ba351db9bfaedff604914f2c159cbdb651f5f8
diff --git a/src/Validator.php b/src/Validator.php index <HASH>..<HASH> 100644 --- a/src/Validator.php +++ b/src/Validator.php @@ -48,7 +48,6 @@ class Validator extends BaseValidator */ protected function generateJavascriptValidations() { - // Check if JS Validation is disabled for this attribu...
too lines for method generateJAvascriptValidations()
proengsoft_laravel-jsvalidation
train
php
e86bb1aecab88c8c4b1eb642605314c956a38345
diff --git a/pkg/kubectl/cmd/expose.go b/pkg/kubectl/cmd/expose.go index <HASH>..<HASH> 100644 --- a/pkg/kubectl/cmd/expose.go +++ b/pkg/kubectl/cmd/expose.go @@ -94,10 +94,6 @@ func RunExpose(f *cmdutil.Factory, out io.Writer, cmd *cobra.Command, args []str ResourceTypeOrNameArgs(false, args...). Flatten(). D...
expose: Don't query the server for input objects
kubernetes_kubernetes
train
go
050bef0ea8e2c0bf87494143250da9890db9b2a0
diff --git a/PyPtt/_api_get_post.py b/PyPtt/_api_get_post.py index <HASH>..<HASH> 100644 --- a/PyPtt/_api_get_post.py +++ b/PyPtt/_api_get_post.py @@ -70,6 +70,8 @@ def get_post( cmd_list.append(search_condition_) cmd_list.append(command.Enter) + cmd_list.append(str(max(1, pos...
Force PTT refresh screen when going to some post index
Truth0906_PTTLibrary
train
py
4dc808eaa7f46acf8fd682d89a31b0077b9319e5
diff --git a/psphere/__init__.py b/psphere/__init__.py index <HASH>..<HASH> 100644 --- a/psphere/__init__.py +++ b/psphere/__init__.py @@ -237,10 +237,12 @@ class ManagedObject(object): if properties is None: raise ValueError("You must specify some properties to preload. To" ...
When pre-loading objects, don't try and pre-load them when the requested attributed contains an empty list. fixes #7
psphere-project_psphere
train
py
1e00f8bfb2851e7ab07b0becdeba2721f99a239a
diff --git a/h2o-core/src/main/java/water/H2O.java b/h2o-core/src/main/java/water/H2O.java index <HASH>..<HASH> 100644 --- a/h2o-core/src/main/java/water/H2O.java +++ b/h2o-core/src/main/java/water/H2O.java @@ -45,6 +45,7 @@ import water.init.JarHash; import water.init.NetworkInit; import water.init.NodePersistentSto...
[MINOR] List all registered parsers in the H2O boot message.
h2oai_h2o-3
train
java
cd76e43b360f831910f3ce75609ce5646cddc6d5
diff --git a/src/com/backendless/geo/BackendlessGeometryFactory.java b/src/com/backendless/geo/BackendlessGeometryFactory.java index <HASH>..<HASH> 100644 --- a/src/com/backendless/geo/BackendlessGeometryFactory.java +++ b/src/com/backendless/geo/BackendlessGeometryFactory.java @@ -3,10 +3,12 @@ package com.backendless...
[BKNDLSS-<I>]: [SUPPORT] Argument type mismatch if update Point and update handler running BackendlessGeometryFactory can adapt from WKT
Backendless_Android-SDK
train
java
890c305dff01505e108b0b0d3f6fbd4def7cc23c
diff --git a/src/Immutable.js b/src/Immutable.js index <HASH>..<HASH> 100644 --- a/src/Immutable.js +++ b/src/Immutable.js @@ -44,3 +44,23 @@ export default { fromJS: fromJS }; + +export { + Iterable, + + Seq, + Collection, + Map, + OrderedMap, + List, + Stack, + Set, + OrderedSet, + + Record, + Range, + Repeat, ...
Add named exports Would love to do this: ```javascript import { Map, Record } from 'immutable'; ``` but at the moment, that's not spec compliant, since immutable only exports a default object. Thoughts? Pardon if this has been discussed before and I just missed it. Thanks!
immutable-js_immutable-js
train
js
88dd66eec79d2a08bf90ad2f4c438c94baee98a0
diff --git a/hydra_base/lib/template/resource.py b/hydra_base/lib/template/resource.py index <HASH>..<HASH> 100644 --- a/hydra_base/lib/template/resource.py +++ b/hydra_base/lib/template/resource.py @@ -113,6 +113,7 @@ def _get_type(type_id): .filter(Template.id == type_i.template_id).one() type_i =...
#<I>: When calling _get_type, return the parent template in the type obeject when the type is from an inherited template
hydraplatform_hydra-base
train
py
1176485622df73efa47378c5a8afe3a22c505231
diff --git a/lib/bcsec/modes/base.rb b/lib/bcsec/modes/base.rb index <HASH>..<HASH> 100644 --- a/lib/bcsec/modes/base.rb +++ b/lib/bcsec/modes/base.rb @@ -46,12 +46,12 @@ module Bcsec ## # Authenticates a user. # - # {authenticate!} expects `kind` and `credentials` to be defined. See - #...
Correct bad link to prevent yardoc warning.
NUBIC_aker
train
rb
b6cd3adb9cc20c571c45554931f23c4d4584603d
diff --git a/lib/config-loader.js b/lib/config-loader.js index <HASH>..<HASH> 100644 --- a/lib/config-loader.js +++ b/lib/config-loader.js @@ -14,7 +14,7 @@ var loadConfig = function (path) { }; module.exports = function (config) { - var defaults = loadConfig('./lib/config/defaults.json'); + var defaults = lo...
Make sure the default config is loaded from the same dir as the module is installed
lesshint_lesshint
train
js
2f668841ad1c5347227c28f9eb2d96be3413ba07
diff --git a/src/Assert.php b/src/Assert.php index <HASH>..<HASH> 100644 --- a/src/Assert.php +++ b/src/Assert.php @@ -85,7 +85,7 @@ trait Assert $result = \JmesPath\Env::search($expression, $json); \PHPUnit\Framework\Assert::assertEquals($expected, $result); - \PHPUnit\Framework\Assert::asse...
fix: assertInternalType invalid when $expected is NULL
estahn_phpunit-json-assertions
train
php
0ffe8d2f0c642aa4c94cc27451cd649dca2b5d98
diff --git a/mod/assign/locallib.php b/mod/assign/locallib.php index <HASH>..<HASH> 100644 --- a/mod/assign/locallib.php +++ b/mod/assign/locallib.php @@ -7046,14 +7046,13 @@ class assign { if (!empty($CFG->enableoutcomes)) { foreach ($gradinginfo->outcomes as $index => $outcome) { ...
MDL-<I> assign: Enable revert outcomes to No outcome
moodle_moodle
train
php
f97aee76e7237c6620dab4c2113e59f6d44fd7ed
diff --git a/mod/glossary/print.php b/mod/glossary/print.php index <HASH>..<HASH> 100644 --- a/mod/glossary/print.php +++ b/mod/glossary/print.php @@ -11,7 +11,7 @@ $offset = optional_param('offset', 0, PARAM_INT); // number $displayformat = optional_param('displayformat',-1, PARAM_INT); $mode ...
MDL-<I> Glossary: uncategorised entries are printable
moodle_moodle
train
php
9a2596b57df860af5a62cdc3959aa401d2ae45b7
diff --git a/galpy/orbit_src/integratePlanarOrbit.py b/galpy/orbit_src/integratePlanarOrbit.py index <HASH>..<HASH> 100644 --- a/galpy/orbit_src/integratePlanarOrbit.py +++ b/galpy/orbit_src/integratePlanarOrbit.py @@ -69,8 +69,13 @@ def integratePlanarOrbit_leapfrog(pot,yo,t,rtol=None,atol=None): ...
correct handling of parameters when going to C for SteadyLogSpiral
jobovy_galpy
train
py
de5e0c661845a720b54280d5a91a9cefddfb8f07
diff --git a/lib/dokku_cli/domains.rb b/lib/dokku_cli/domains.rb index <HASH>..<HASH> 100644 --- a/lib/dokku_cli/domains.rb +++ b/lib/dokku_cli/domains.rb @@ -8,7 +8,7 @@ module DokkuCli desc "domains:add DOMAIN", "Add a custom domain to the app" def domains_add(custom_domain) - run_command "domains:se...
Update domains.rb One last one - turns out the add domains command is actually domains:add for dokku as well (I'm a full noob starting today with dokku!)
SebastianSzturo_dokku-cli
train
rb
73d1e4e98c50db0081a9e38f46ef134a1cc0ebd1
diff --git a/modules/activiti-engine/src/main/java/org/activiti/engine/impl/bpmn/diagram/ProcessDiagramCanvas.java b/modules/activiti-engine/src/main/java/org/activiti/engine/impl/bpmn/diagram/ProcessDiagramCanvas.java index <HASH>..<HASH> 100644 --- a/modules/activiti-engine/src/main/java/org/activiti/engine/impl/bpmn...
committed StringIndexOutOfBoundsException found during integration tests
Activiti_Activiti
train
java
b69f42d52f28c989b2f47ea583fac60826b1f099
diff --git a/lib/hogan_assets/tilt.rb b/lib/hogan_assets/tilt.rb index <HASH>..<HASH> 100644 --- a/lib/hogan_assets/tilt.rb +++ b/lib/hogan_assets/tilt.rb @@ -15,10 +15,10 @@ module HoganAssets text = if template_path.is_hamstache? raise "Unable to compile #{template_path.full_path} because haml is no...
pass scope and locals up the chain, allows haml rails helpers
leshill_hogan_assets
train
rb
abde9ad6129a1848e02b8f08df66f361a96951fc
diff --git a/phoebe/frontend/plotting.py b/phoebe/frontend/plotting.py index <HASH>..<HASH> 100644 --- a/phoebe/frontend/plotting.py +++ b/phoebe/frontend/plotting.py @@ -384,7 +384,7 @@ def mesh(b, t, **kwargs): elif cmap is None and select == 'logg': cmap = pl.cm.gnuplot kwargs_defaults['backgr...
fix to mesh plotting with custom array
phoebe-project_phoebe2
train
py
d4d7725d7db12170d47de8e6862deb2589086c86
diff --git a/mockito/spying.py b/mockito/spying.py index <HASH>..<HASH> 100644 --- a/mockito/spying.py +++ b/mockito/spying.py @@ -26,21 +26,21 @@ from .mocking import Mock, _Dummy, mock_registry __all__ = ['spy'] -def spy(original_object): +def spy(instance): class Spy(_Dummy): - __class__ = origina...
Rename var original_object to instance bc spies only work with instances
kaste_mockito-python
train
py
b670936c67fbc5d2626d871a53456a5ec90478c6
diff --git a/Tone/core/Context.js b/Tone/core/Context.js index <HASH>..<HASH> 100644 --- a/Tone/core/Context.js +++ b/Tone/core/Context.js @@ -337,6 +337,7 @@ define(["Tone/core/Tone", "Tone/core/Emitter", "Tone/core/Timeline"], function ( * @returns {Tone.Context} this */ Tone.Context.prototype.dispose = func...
emit an event when a context is closed to clean up Master/Transport and anything else static on the context
Tonejs_Tone.js
train
js
06e85f69a9cb2e6c22fdfc948f71e229b8019104
diff --git a/lib/config/index.js b/lib/config/index.js index <HASH>..<HASH> 100644 --- a/lib/config/index.js +++ b/lib/config/index.js @@ -47,7 +47,7 @@ module.exports = class Config { } forBrowser(id) { - return this.browsers[id]; + return _.extend(this.browsers[id], {id}); } getB...
feat: extend browser config with its id
gemini-testing_hermione
train
js,js
8f2daa6a7b8f08577dc8a28ddb1b5bfee166b6ca
diff --git a/src/Generators/Webserver/Database/Drivers/MariaDB.php b/src/Generators/Webserver/Database/Drivers/MariaDB.php index <HASH>..<HASH> 100644 --- a/src/Generators/Webserver/Database/Drivers/MariaDB.php +++ b/src/Generators/Webserver/Database/Drivers/MariaDB.php @@ -109,8 +109,13 @@ class MariaDB implements Dat...
try the radical approach of resetting the connection
tenancy_multi-tenant
train
php
3ca0304f30c83e1965e1df329d3e5fae312fc8d7
diff --git a/test/has_many_through_test_methods.rb b/test/has_many_through_test_methods.rb index <HASH>..<HASH> 100644 --- a/test/has_many_through_test_methods.rb +++ b/test/has_many_through_test_methods.rb @@ -54,7 +54,7 @@ module HasManyThroughTestMethods connection = ActiveRecord::Base.connection groups = ...
avoid `ArJdbc` use in test method
jruby_activerecord-jdbc-adapter
train
rb
335cdbe067f232b00a3035664f3595fe3fff9ac1
diff --git a/src/js/core/icon.js b/src/js/core/icon.js index <HASH>..<HASH> 100644 --- a/src/js/core/icon.js +++ b/src/js/core/icon.js @@ -50,7 +50,7 @@ const Icon = { props: ['icon'], - data: {exclude: ['id', 'style', 'class', 'src', 'icon', 'ratio']}, + data: {include: []}, isIcon: true, diff ...
refactor: whitelist attributes to copy to svg
uikit_uikit
train
js,js
ce7528ebdf874f9e4259d569bdf2d6ddd02c3955
diff --git a/api/server/router/container/container_routes.go b/api/server/router/container/container_routes.go index <HASH>..<HASH> 100644 --- a/api/server/router/container/container_routes.go +++ b/api/server/router/container/container_routes.go @@ -474,10 +474,8 @@ func (s *containerRouter) postContainersCreate(ctx c...
postContainersCreate: minor nitpick There are two if statements checking for exactly same conditions: > if hostConfig != nil && versions.LessThan(version, "<I>") Merge these.
moby_moby
train
go
46aabf4d80eecbcaa30f3d8f73fff3da07657604
diff --git a/src/main/java/pro/zackpollard/telegrambot/api/internal/managers/FileManager.java b/src/main/java/pro/zackpollard/telegrambot/api/internal/managers/FileManager.java index <HASH>..<HASH> 100644 --- a/src/main/java/pro/zackpollard/telegrambot/api/internal/managers/FileManager.java +++ b/src/main/java/pro/zack...
Make URL InputFiles download to the system temporary directory.
zackpollard_JavaTelegramBot-API
train
java
529cdcc043e5ae037aa48fa275f1212d4a97a374
diff --git a/tasks/packager/sectv-tizen.js b/tasks/packager/sectv-tizen.js index <HASH>..<HASH> 100644 --- a/tasks/packager/sectv-tizen.js +++ b/tasks/packager/sectv-tizen.js @@ -356,7 +356,7 @@ module.exports = { throw Error(result.output); } else { - var packa...
fix: result match on tizen package command
Samsung_grunt-cordova-sectv
train
js
2f09d00e880f06dac21549fc9e6edc7ad4db3151
diff --git a/structr-core/src/main/java/org/structr/core/script/polyglot/wrappers/PolyglotProxyArray.java b/structr-core/src/main/java/org/structr/core/script/polyglot/wrappers/PolyglotProxyArray.java index <HASH>..<HASH> 100644 --- a/structr-core/src/main/java/org/structr/core/script/polyglot/wrappers/PolyglotProxyArr...
Fixes bug in PolyglotProxyArray.
structr_structr
train
java
2336b63263f0383e380635aa64143b7cc70962de
diff --git a/satpy/readers/utils.py b/satpy/readers/utils.py index <HASH>..<HASH> 100644 --- a/satpy/readers/utils.py +++ b/satpy/readers/utils.py @@ -15,7 +15,7 @@ # # You should have received a copy of the GNU General Public License along with # satpy. If not, see <http://www.gnu.org/licenses/>. -"""Helper functi...
Update docstring for utils.py, for quite some time it has contained more than just area def helper functions.
pytroll_satpy
train
py
f70fda21da874d3f750fbe525b3688551c32d1ee
diff --git a/nion/swift/test/Storage_test.py b/nion/swift/test/Storage_test.py index <HASH>..<HASH> 100644 --- a/nion/swift/test/Storage_test.py +++ b/nion/swift/test/Storage_test.py @@ -4021,7 +4021,7 @@ class TestStorageClass(unittest.TestCase): with document_model.ref(): # for corrupt/m...
Fix utc date issue in test.
nion-software_nionswift
train
py
32289617518cab48ab116a1cc634c60b0f9e9602
diff --git a/test/test.py b/test/test.py index <HASH>..<HASH> 100644 --- a/test/test.py +++ b/test/test.py @@ -78,7 +78,7 @@ def test_io(): for mesh in [simple_data, tri_quad_data]: yield _write_read, filename, mesh - for extension in ['.e', '.h5m']: + for extension in ['.e']: fil...
demote the h5m test
nschloe_meshio
train
py
8f546177b314e0e4dbe0bcb282951e29388dbdbb
diff --git a/test/org/mockito/internal/verification/checkers/AtLeastXNumberOfInvocationsCheckerTest.java b/test/org/mockito/internal/verification/checkers/AtLeastXNumberOfInvocationsCheckerTest.java index <HASH>..<HASH> 100644 --- a/test/org/mockito/internal/verification/checkers/AtLeastXNumberOfInvocationsCheckerTest....
In order to fix the build and keep PMD happy --HG-- extra : convert_revision : svn%3Aaa2aecf3-ea3e-<I>-9d<I>-<I>e7c<I>/trunk%<I>
mockito_mockito
train
java
8beb1f21efa995800112b1ca8eedc24727b07e08
diff --git a/lib/application.js b/lib/application.js index <HASH>..<HASH> 100644 --- a/lib/application.js +++ b/lib/application.js @@ -160,7 +160,7 @@ app.use = function(route, fn){ * [Consolidate.js](https://github.com/visionmedia/consolidate.js) * library was created to map all of node's popular template * engi...
change prev commit to use app.enabled()
expressjs_express
train
js,js
a425fd0e079dbbecfbe0ff7d576e5ac511602ff2
diff --git a/alpine/src/main/java/alpine/auth/KeyManager.java b/alpine/src/main/java/alpine/auth/KeyManager.java index <HASH>..<HASH> 100644 --- a/alpine/src/main/java/alpine/auth/KeyManager.java +++ b/alpine/src/main/java/alpine/auth/KeyManager.java @@ -112,7 +112,7 @@ public final class KeyManager { final Ke...
Fixed issue where assignment of keypair and secret were not assigned if they did not previously exist and were just created. This resulted on failure on first initialize.
stevespringett_Alpine
train
java
dac5399af04c84c6021ee2bc169a3d17944a5fa2
diff --git a/railties/lib/rails/commands/dbconsole.rb b/railties/lib/rails/commands/dbconsole.rb index <HASH>..<HASH> 100644 --- a/railties/lib/rails/commands/dbconsole.rb +++ b/railties/lib/rails/commands/dbconsole.rb @@ -20,7 +20,7 @@ module Rails ENV['RAILS_ENV'] = options[:environment] || environment ...
Fix rails dbconsole for jdbcmysql adapter.
rails_rails
train
rb
6504b038828eb5f5e3294d561828213ac7278203
diff --git a/test/models/edition_test.rb b/test/models/edition_test.rb index <HASH>..<HASH> 100644 --- a/test/models/edition_test.rb +++ b/test/models/edition_test.rb @@ -43,16 +43,6 @@ class EditionTest < ActiveSupport::TestCase template_answer(version_number) end - def fact_check_and_publish(edition = nil)...
Remove test helper method as it's not needed any longer
alphagov_govuk_content_models
train
rb
796bf1c2d5fd3e03cc91dcf932e2d6aa1c8e70b0
diff --git a/src/IO/ConsoleIO.php b/src/IO/ConsoleIO.php index <HASH>..<HASH> 100644 --- a/src/IO/ConsoleIO.php +++ b/src/IO/ConsoleIO.php @@ -204,7 +204,6 @@ class ConsoleIO implements IOInterface { $attempts = is_int($attempts) ?: null; - $question = new Question($question); $question ...
Deleted an unused "new" statement
spress_spress
train
php
daab0c1a009122d1772fba261e65dcf31404c6e0
diff --git a/spec/kahlan/matcher/ToThrowSpec.php b/spec/kahlan/matcher/ToThrowSpec.php index <HASH>..<HASH> 100644 --- a/spec/kahlan/matcher/ToThrowSpec.php +++ b/spec/kahlan/matcher/ToThrowSpec.php @@ -44,6 +44,11 @@ describe("toThrow::match", function() { throw new Exception('exception message'); }; expect(...
Fixes an issue in the ToThrow matcher.
kahlan_kahlan
train
php,php
0410b05bb508cb5db60aaffed0fc263c0dd7264d
diff --git a/app/Functions/FunctionsImport.php b/app/Functions/FunctionsImport.php index <HASH>..<HASH> 100644 --- a/app/Functions/FunctionsImport.php +++ b/app/Functions/FunctionsImport.php @@ -1025,6 +1025,8 @@ class FunctionsImport { $gedrec = str_replace("\n0 OBJE\n", '0 @' . $xref . "@ OBJE\n", $gedrec); /...
Fix #<I> - conversion of inline media to media objects
fisharebest_webtrees
train
php
ed14b319f7f604eb822f3d5815063f699e9a8d02
diff --git a/src/foremast/slacknotify/slack_notification.py b/src/foremast/slacknotify/slack_notification.py index <HASH>..<HASH> 100644 --- a/src/foremast/slacknotify/slack_notification.py +++ b/src/foremast/slacknotify/slack_notification.py @@ -1,5 +1,4 @@ """Notify Slack channel.""" -import logging import time ...
refactor: Remove unused import
foremast_foremast
train
py
c4c188f6d9f85a92cb4a423a9d99402892b9a991
diff --git a/lnrpc/signrpc/signer_server.go b/lnrpc/signrpc/signer_server.go index <HASH>..<HASH> 100644 --- a/lnrpc/signrpc/signer_server.go +++ b/lnrpc/signrpc/signer_server.go @@ -938,10 +938,15 @@ func (s *Server) MuSig2CombineSig(_ context.Context, return nil, fmt.Errorf("error combining signatures: %v", err) ...
signer: fix crash when musig combine doesn't have final sig
lightningnetwork_lnd
train
go
31578cb54666ac55d4649e6c73767be1a22778d7
diff --git a/conn.go b/conn.go index <HASH>..<HASH> 100644 --- a/conn.go +++ b/conn.go @@ -322,6 +322,18 @@ func (c *Conn) executeQuery(qry *Query) *Iter { case resultKeyspaceFrame: c.cluster.HandleKeyspace(c, x.Keyspace) return &Iter{} + case errorFrame: + if x.Code == errUnprepared { + c.prepMu.Lock() + ...
If the prepared statement does not exist on server, re-prepare it
gocql_gocql
train
go
3d126c92a47487e628eeb90ce57288b694110656
diff --git a/src/main/java/org/primefaces/component/datatable/feature/FilterFeature.java b/src/main/java/org/primefaces/component/datatable/feature/FilterFeature.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/primefaces/component/datatable/feature/FilterFeature.java +++ b/src/main/java/org/primefaces/componen...
Fix #<I> - Datatable: filter facet does not work with p:columns
primefaces_primefaces
train
java
cbac9e942b842e6f02d86e27d11b78a3340c4cbf
diff --git a/src/com/google/javascript/jscomp/parsing/JsDocTokenStream.java b/src/com/google/javascript/jscomp/parsing/JsDocTokenStream.java index <HASH>..<HASH> 100644 --- a/src/com/google/javascript/jscomp/parsing/JsDocTokenStream.java +++ b/src/com/google/javascript/jscomp/parsing/JsDocTokenStream.java @@ -236,7 +23...
Use String#intern to avoid creating thousands of copies of strings that show up frequently in JsDoc annotations, like 'string' and 'number' ------------- Created by MOE: <URL>
google_closure-compiler
train
java
c2d0d46c184f85a35b76870a956162b6c0ecc900
diff --git a/public/js/make-api.js b/public/js/make-api.js index <HASH>..<HASH> 100644 --- a/public/js/make-api.js +++ b/public/js/make-api.js @@ -202,7 +202,7 @@ var module = module || undefined; // Extend wrapped with contents of make [ "url", "contentType", "locale", "title", "description", "author"...
Fix Bug <I> - Send emailHash for user back with searches
mozilla_MakeAPI
train
js,js